Last active
August 29, 2015 14:16
-
-
Save bryceadams/bfe84f1985f9c79b9ddc to your computer and use it in GitHub Desktop.
Example usage of scopes in FB.login Facebook JavaScript SDK
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
function fblogin() { | |
FB.login(function (response) { | |
checkLoginState(); | |
}, {scope: 'public_profile,email,user_website,user_education_history,user_work_history,user_location,user_about_me'}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment