Displaying 1 result from an estimated 1 matches for "authenticate_facebook".
2008 Jun 12
6
Session Best Practices
Hi All- I am still trying to figure out the best way to handle facebook session for my users. Here is my current flow:
in my "external accounts controller"
1) before_filter :ensure_authenticated_to_facebook, :only => [:authenticate_facebook, :edit_facebook]
2) when the user links into facebook, facebooker authenticates and redirects back to my application
3) i detect the "auth_token" param in my method and store the session_key
4) now the session[:facebook_session] is good to go
....
when a user logs in i detect if they...