facebook_session undefined
Joe Van Dyk
9 posts
|
Any ideas why it doesn’t work to call “facebook_session” from inside my controller? Undefined method, I get. I had to write this function:
def facebook_session
if session[:facebook_session]
session[:facebook_session]
elsif params[:fb_sig_user]
set_facebook_session
end
end
|
Mike Mangino
140 posts
|
What version of Rails are you using and what does the stacktrace look like? This might be a good question for the facebooker mailing list. |
Joe Van Dyk
9 posts
|
Rails 2.1. I’ll get the stack trace later. Do I need to do anything other than install facebooker to get access to that method? Also, is the facebook_session set when they log into the application? Or just after they login to the application? The book doesn’t talk much, afaik, about what ensure_authenticated_to_facebook does and how it differs from ensure_application_installed_to_facebook (or whatever it’s called). |
Mike Mangino
140 posts
|
We haven’t completed Rails 2.1 support for Facebooker yet. We’ll try to get that updated soon. |
Joe Van Dyk
9 posts
|
Well, that explains some of the weirdness I’ve been trying to figure out. :-) Should I be using trunk of facebooker then? |
5 posts, 2 voices
