Answer the question
In order to leave comments, you need to log in
Facebook API friends.get?
Good evening.
The problem is with the facebook api, and with the friends.get (uid ) function. At the time of authorization through FB on my site, extended rights are requested
FB.login(handleSessionResponse, {<br/>
// <a href="http://developers.facebook.com/docs/authentication/permissions">developers.facebook.com/docs/authentication/permissions</a><br/>
perms: [<br/>
'offline_access',<br/>
'user_about_me',<br/>
'friends_about_me',<br/>
'friends_interests',<br/>
'user_interests',<br/>
'friends_location',<br/>
'user_location',<br/>
'friends_online_presence',<br/>
'user_online_presence',<br/>
'email, read_stream, publish_stream, offline_access, status_update, photo_upload, create_event, rsvp_event, sms, video_upload, create_note, share_item'<br/>
].join(',')<br/>
});
FB.api({ method: 'friends.get', uid: 'айди пользователя, предоставившего все права моему сайту' }, function(result) {<br/>
console.log(result)<br/>
})<br/>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question