I'm using FBFriendPickerViewController to display a list of friends to invite in my iOS app.
It is only showing the list of friends that have the app installed. Why is this?
I'm also interacting with the Facebook sdk directly in my app, for using the Graph API. Could this be interfering? I'm opening a session for that with permissions: public_profile, user_friends friends_games_activity, publish_actions.
The app is in development mode on Facebook developer centre.
Here is my code for showing picker:
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];