Displaying 20 results from an estimated 1000 matches similar to: "A best practices question"
2008 Apr 08
3
Session Expired for Profile Publishing
Ok. I''m not having any success with publishing profile FBML.
Example code:
class WelcomeController < ApplicationController
layout "facebook"
ensure_application_is_installed_by_facebook_user
def index
@user = facebook_session.user
...
@user.profile_fbml = render_to_string( :template => ''welcome/profile'' )
end
end
Results in
2008 Jan 24
12
getting started with facebooker
Hi,
I started with rfacebook but given the recent events figure its best
to move over to facebooker.
I have:
1.) Installed the facebooker plugin
2.) setup my facebook app (fbml/canvas)
3.) created a method on controller & view to handle initial request
4.) added "ensure_application_is_installed_by_facebook_user" to top
off application.rb
I am able to get to my landing page
2007 Dec 04
5
new facebooker
Hi guys,
I am new to this list and thought i''d say hello. I am using
facebooker on a new project and so far I am really pleased with it. I
saw that some users are having woes with the url_rewriter breaking
urls for paths outside of the facebook canvas (i.e. your site
supports both facebook and non-facebook users). I don''t have a
prefect answer for this but I wrote a
2007 Dec 10
4
facebook_resources method not found
Is anyone else getting this error in their routes, when running
Facebooker from a plugin.
./script/../config/../config/routes.rb:67: undefined method
`facebook_resources'' for main:Object (NoMethodError)
from /opt/local/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/
action_controller/routing.rb:1139:in `draw''
from ./script/../config/../config/routes.rb:1
2008 Mar 18
4
respond_to formats, fbml and fbjs
In my controllers I have a respond_to block for both fbml and fbjs.
I created the fbjs mime type in environment.rb:
Mime::Type.register "application/javascript", :fbjs
However, even if I specify fbjs in a parameter name format during AJAX
post requests, it is being overwritten by Rails or Facebooker as FBML.
I confirmed this by placing logger.debug params[:format] immediately
before
2008 Mar 31
10
Problems with *_path() and *_url() helpers when using Publisher
Hello,
I am running into issues using *_path() and *_url() helpers the
Facebooker Publisher framework. I encounter the following error when
using these helpers while *inside of a partial*:
undefined method `default_url_options'' for ActionView::Base:Class
I''ve seen a few other people speak about this issue, yet I haven''t
seen any resolution on the mailing list yet.
2008 Apr 03
3
routes.rb definitions not working???
Hello Eveyone,
I am new here, and am have no idea how to setup routes in the routes.rb file
while using fbml. The regular
map.resources :gifts
map.resources :wishlists
map.resources :invitations
map.resources :comments
does not work.
This tutorial
http://rfacebook.wordpress.com/2008/02/04/quickstartfacebooker/
says to create a map.root, such as the one mentioned "map.root
2008 May 15
3
Facebooker support for iframe apps
Hi facebooker-ers,
It looks to me like facebooker does not currently support iframe
facebook apps - or am I missing something?
My first problem as I understand it is as follows - When you are
logged into facebook, and access a facebook application,
facebook tacks on a whole lot of extra fb_sig parameters to the
request (including fb_sig_user) that the application can then
validate to
2008 Jan 25
3
More on routing, relative_root and facebooker
Hey there!
I would like the discussion to continue on how facebooker handles
routes, as it appears that there is an unsolved issue.
Mike, I read your recent reply involving setting facebook''s
callback_path to the root of the rails app, and adding a route to
catch all calls to the app root where canvas => true.
I just want to point out this is counterintuitive to some folks and
2008 Jan 25
8
simple routing & linking question
So I have an existing app & facebook app in same rails application,
for now I have decided to go the route of creating a controller for
facebook stuff (called FaceController).
(setup is canvas, fbml)
So I have:
facebook config
http://myurl:myport/face/
My controllers name is face, so I dont even need a manual route, for
the landing page it works like a charm.
but, when I try to make
2008 Jan 24
1
New Batch API method
Anyone started implementing the new Batch api method?
BJ
-----
BJ Clark
the science department
bjclark at scidept.com
www.scidept.com
2008 Jan 25
2
form formatting
If I want to use fbml elements and rails tags, is there a way to do
within a fb:editor?
if I do:
<% facebook_form_for(:task, at task,:url => create_task_path) do |f| %>
Assign Task To: <%= fb_friend_selector %>
<%=f.text_field :ttype, :label=> "Title"%>
<%=text_field_tag :newrnumdays, ndays, :label => "# Days"%>
2008 Apr 09
3
form_tag and form_for cause #protect_from_forgery errors
Hey All,
I''m trying to do a simple form_for (and I also get it with form_tag)
and I''m getting the following error:
ActionView::TemplateError (No :secret given to the
#protect_from_forgery call. Set that or use a session store capable
of generating its own keys (Cookie Session Store).) on line #2 of
users/new.fbml.erb:
1: <h1>Welcome To Courses, Let''s Get
2008 Jan 24
5
Is there a test for setting the session ID to the fb_sig_session_key param?
Hey all,
I have a patch that fixes a problem I am having with IFramed pages in
rails 2.0. I am relying on the session being retrieved via
fb_sig_session_key. I am looking for the test code that tests this
functionality but I can''t seem to find it.
So you on the list today Chad, gotta pointer for me?
Thanks, I want to get a test in for this fix,
Dave
2008 Jul 31
8
Facebook Connect
Is anyone planning on using Facebook Connect? I have the
implementation that I think covers the user registration. I''m going to
work on the UI stuff as well but would love to get some feedback on it.
Mike
--
Mike Mangino
http://www.elevatedrails.com
2007 Nov 02
1
Some proposed changes
I''ve got some changes queued up that I want to run by everyone before
I commit.
First, I''ve added a filter that sets the :format variable to "fbml"
when you are in the canvas view. That means with edge rails you can
use index.fbml.erb for facebook and index.html.erb for non facebook
requests and the right thing will happen. This is important for doing
things
2008 Oct 17
4
Error when posting facebook.feed.publishActionOfUser
posting ''facebook.feed.publishActionOfUser'' with {:title=>"<fb:fbml>
<fb:name ifcantsee=\"A Hidden User\" linked=\"true\" uid=\"579947937\"
/> wrote a <a href=\"http://apps.facebook.com/dailycaption/captions/1273\">caption</a></fb:fbml>",
2008 Jan 25
5
ajax with facebooker?
So if I am using fbml,canvas & facebooker, can I do ajax calls? if so
how?
From reading it seems they support some sort of mock ajax, but I
don''t really understand, can somone explain to me?
If I cant do ajax, can I still do javascript?
Can I use 3rd party libs like prototype & scriptaculous?
thanks
Joel
2008 Jan 11
2
Bebo at 100%
http://www.readwriteweb.com/archives/bebo_opens_up_100_percent.php
Bebo Opens Up 100% in Bid For More Third Party Apps
Written by Richard MacManus / January 10, 2008 6:50 PM / 2 Comments
Following the December announcement that social network Bebo was
aligning itself to the Facebook platform, the company announced today
that the Bebo Open Application Platform is "100% open" ?
2008 Aug 20
1
Facebook javascript (FBJS) library
I wrote an fbjs library to help speed up development of some of my
applications. I plan to have some sort of "official" release with a blog
entry and github repository at some point, but I thought you guys might want
to have it earlier.
It''s still a work in progress. I''ve been using every method at least once in
my application but it''s still possible there is