I am working on cordova facebook login, with the phonegap-facebook-plugin,
I am using the following function after checking the login status of the user with FB.getLoginStatus
function processFacebook(token) {
FB.api('/me', 'get', {
access_token: token
}, function(response) {
alert(response);
});
}
but, I am unable to receive any response. Can anybody point out where I am going wrong? I took the reference from this , but the method seems not to work. Here's the link to the original index.js and index.html file