fbsdk - FB Login API version 2.10 request callback function is not working -
fb.api('/me?fields=name,gender,picture,email,id,link', function(response) { console.log(response); }
after logged facebook popup screen, i'm trying logged-in name , other details. sending request doesn't enter callback function. facebook login scope parameters email
, public profile
.
what problem , how can solve this?
i tried these 2 methods:
fb.api('/me', { fields: 'last_name' }, function(response) fb.api('/me', 'post', { fields: name }, function(response)
it sending request api , returning response it's not coming callback function. how can response?
Comments
Post a Comment