Created
December 16, 2011 06:47
-
-
Save sansari/1484847 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 1) The 'perms' parameter has been renamed to 'scope' for FB.login --> FB.login( callback, {scope:'manage_pages'}) | |
| 2) The function FB.getSession has been renamed to FB.getAuthResponse | |
| 3) The structure of the response for FB.login, FB.getLoginStatus and FB.getAuthResponse has changed. response.session is now response.authResponse, and authResponse only contains and accessToken, userId, signedRequest and expiresIn. Please note the name change from access_token to accessToken and user_id to userId. | |
| 4) No other information is passed including which permissions have been granted. Another graph call must be made with the access token to get any more information. For example, you may need to make another call to /me to get current permissions, and verify that the permissions include the one you just asked for. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment