Skip to content

Instantly share code, notes, and snippets.

@thanhlmm
Created April 26, 2016 16:07
Show Gist options
  • Save thanhlmm/2b38a22a819f16994e8489caf8316437 to your computer and use it in GitHub Desktop.
Save thanhlmm/2b38a22a819f16994e8489caf8316437 to your computer and use it in GitHub Desktop.
Get User Token
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
var accessToken = response.authResponse.accessToken;
}
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment