Class | RFacebook::FacebookDesktopSession |
In: |
lib/facebook_desktop_session.rb
|
Parent: | FacebookSession |
session_secret | [R] | you should need this for infinite desktop sessions |
Constructs a FacebookDesktopSession, calling the API to grab an auth_token.
api_key: | your API key |
api_secret: | your API secret |
quiet: | boolean, set to true if you don‘t want errors to be thrown (defaults to false) |
Activates the session and makes it ready for usage. Call this method only after the user has logged in via the login URL.
Activate using the session key and secret directly (for example, if you have an infinite session)
key: | the session key to use |
secret: | the session secret to use |
Gets the authentication URL
options.next: | the page to redirect to after login |
options.popup: | boolean, whether or not to use the popup style (defaults to true) |
options.skipcookie: | boolean, whether to force new Facebook login (defaults to false) |
options.hidecheckbox: | boolean, whether to show the "infinite session" option checkbox (defaults to false) |
Used for signing a set of parameters in the way that Facebook specifies: <developers.facebook.com/documentation.php?v=1.0&doc=auth>
params: | a Hash containing the parameters to sign |