API 呼び出しを介して友達の友達を取得したいのですが、それを実行しようとすると、次の例外が発生します。
{
"error": {
"type": "OAuthException",
"message": "(#604) Can't lookup all friends of .... Can only lookup for the logged in user (...), or friends of the logged in user with the appropriate permission"
}
}
アクセスしようとしているURLは、
https://graph.facebook.com/friend_id/friends?access_token=access_token
次のような拡張アクセス許可を取得しています。
<fb:login-button perms="user_likes,friends_likes"></fb:login-button>
ここで何がうまくいかないのか教えてください。それとも、友達の友達にアクセスできないということですか?