Displaying 2 results from an estimated 2 matches for "fb_user".
Did you mean:
db_user
2008 Jul 28
2
Profile updates using profile_main
...west Facebooker and works
fine with the old FB site is this:
def profile_update(facebook_user, user, install_url)
send_as :profile
from facebook_user
recipients facebook_user
fbml = render(:partial=>"/facebook/profile_fbml",:locals =>
{ :user => user, :fb_user => facebook_user, :install_url =>
install_url })
profile(fbml)
end
My understanding is the new FB site requires that you use profile_main
to get your app box posted as before, so I changed the above to:
def profile_update(facebook_user, user, install_url)
send_as :profil...
2008 Jan 23
2
Accessing the current session
I''m trying to fetch a session (and other fb user variables from the session) at the start of my controller, so that all the actions in that controller can make use of it. Here''s the code:
class FacebookController < ApplicationController
ensure_application_is_installed_by_facebook_user
fb_session = session[:facebook_session]
# ... action functions here ...
end