views:

462

answers:

1

Integrating FB Connect into our site using Rails 2.2.2 and Facebooker gem (latest version). Login button, xd_receiver files generated fine to the point where the login popup window will open, I can log in, and it will then execute the onlogin event, but Facebooker's facebook_session method just keeps returning nil. Upon inspecting the session object, the various session cookies from FBC are definitely there and correct, so I'm presuming authentication was successful, but the nil facebook_session method is creating an impasse in development. What's worse, I have been noticing various discussions around needing to proxy or otherwise tunnel when developing locally (e.g. localhost:3000 won't work with the xd_receiver stuff). Any ideas?

+1  A: 

Turns out I wasn't calling set_facebook_session - doh!

Kyle