Created
July 12, 2012 11:08
-
-
Save duarme/3097473 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if params['signed_request'] | |
parsed_signed_request = @fb_oauth.parse_signed_request(params['signed_request']) | |
session[:signed_request] ||= parsed_signed_request | |
fb_id = parsed_signed_request['user_id'] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment