FBFriendPickerViewController不显示所有的朋友
我正在使用FBFriendPickerViewController来显示在iOS应用程序中邀请的朋友列表。
它只显示已安装应用程序的朋友的列表。 为什么是这样?
我也直接在我的应用程序中使用Graph API与Facebook sdk进行交互。 这可能会干扰吗? 我正在为权限打开一个会话:public_profile,user_friends friends_games_activity,publish_actions。
该应用程序在Facebook开发者中心处于开发模式。
这是我的代码显示select器:
FBFriendPickerViewController *friendPickerController = [[FBFriendPickerViewController alloc] init]; friendPickerController.title = @"Pick Friends"; // Load the friend data [friendPickerController loadData]; // Show the picker modally [friendPickerController presentModallyFromViewController:self animated:YES handler:nil];
从API版本v2.0:朋友列表只会返回也使用您的应用程序的朋友。 检查Facebook平台更新日志