我正在尝试通过authanticate用户获取用户的朋友列表,并在使用此代码时成功:
self.loginView.readPermissions = @[@"public_profile", @"user_fridends", @"email"];
[FBRequestConnection startWithGraphPath:@"/me/taggable_friends"
parameters:nil
HTTPMethod:@"GET"
completionHandler:^(
FBRequestConnection *connection,
id result,
NSError *error
) {
/* handle the result */
NSLog(@"%@", result);
}];
但是当我试图通过其他帐户获取朋友列表时,我无法获得朋友列表
答案 0 :(得分:0)
https://developers.facebook.com/docs/graph-api/reference/v2.1/user/taggable_friends
使用此边缘必须经过Facebook审核才能代表使用您应用的用户进行调用。
未经批准,它仅适用于在App(Admin / Dev / Tester)中具有角色的用户。获取朋友的正确方式是/me/friends
,它只会返回授权您的应用的人。
此外,它是“user_friends”,而不是“user_fridends”。