有没有办法找回 friend 的 friend ?
我正在使用 SDK 1.0。
例如,我首先获取我的 id 来检索我的 friend 列表
NSString *query = [NSString stringWithFormat:@"/%@/friends", userID ];
[QVFacebookQuery execute:query withHTTPMethod:@"GET" completion:^(BOOL success, id result, NSError *error) {
/* print result if success */
}];
通过这种方法,我可以检索我的 friend 和亲戚用户 ID 的列表。
如果我使用这个 id 之一来查询它的 friend ,那是行不通的!
.../user_id/friends
我收到这个错误:
{
"error": {
"message": "Unsupported operation",
"type": "OAuthException",
"code": 100
}
}
我已经读过 documentation并设置 user_friends 权限。
最佳答案
出于隐私原因,您无法获得 friend 的 friend 。您甚至无法再获得授权用户的所有 friend - 只有那些也授权了该应用程序的 friend 。
在更新日志中阅读更多关于更改的信息:https://developers.facebook.com/docs/apps/changelog
关于ios - Facebook 图形 API 浏览器 : get friends of friends,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26805127/