我需要从Javascript SDK的
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
.