Boa Tarde, alguém já conseguiu acessar os Amigos de amigos através da api do facebook? No site https://developers.facebook.com/docs/reference/api/ mostra várias Url’s:
Friends: https://graph.facebook.com/me/friends?access_token=…
News feed: https://graph.facebook.com/me/home?access_token=…
Likes: https://graph.facebook.com/me/likes?access_token=…
Movies: https://graph.facebook.com/me/movies?access_token=…
Music: https://graph.facebook.com/me/music?access_token=…
Books: https://graph.facebook.com/me/books?access_token=…
Notes: https://graph.facebook.com/me/notes?access_token=…
Permissions: https://graph.facebook.com/me/permissions?access_token=…
Photo Tags: https://graph.facebook.com/me/photos?access_token=…
Photo Albums: https://graph.facebook.com/me/albums?access_token=…
Video Tags: https://graph.facebook.com/me/videos?access_token=…
Video Uploads: https://graph.facebook.com/me/videos/uploaded?access_token=…
Events: https://graph.facebook.com/me/events?access_token=…
Groups: https://graph.facebook.com/me/groups?access_token=…
Checkins: https://graph.facebook.com/me/checkins?access_token=…
Porém se eu trocar o /me/ da url e inserir o id do meu Amigo ele da o seguite erro:
{
"error": {
"message": "(#604) Can't lookup all friends of *Aqui fica o ID do amigo* . Can only lookup for the logged in user (100002981688617), or friends of the logged in user with the appropriate permission",
"type": "OAuthException"
}
}
Alguém sabe como deve se proceder em relação a isso?