33
rated 0 times
[
35]
[
2]
/ answers: 1 / hits: 128649
/ 14 Years ago, fri, january 21, 2011, 12:00:00
I need to get the access token from FB.login
method in Javascript SDK. My login code is
FB.login(function(response) {
if (response.session) {
if (response.perms) {
} else {
// user is logged in, but did not grant any permissions
alert(No Permission..);
}
} else {
// user is not logged in
alert(Please login to facebook);
}
}, {perms:'read_stream,publish_stream,offline_access'});
Is there any way to get access token? I am able to get the access token using PHP
.
More From » facebook