i want to get all friend using Facebook integration in my app. i am give user_friends
permmision at login time. and i use below code to get list of friends.
Graph API V.2.0 Got All friend list As below
[FBRequestConnection startWithGraphPath:@"/me/taggable_friends"
parameters:nil
HTTPMethod:@"GET"
completionHandler:^(
FBRequestConnection *connection,
id result,
NSError *error
) {
NSLog(@"Toggle friend =%@",result);
}];
You're apparantly using Graph API v2.0. If your app was registered after April 30th 2014, you don't have to chance to get all friends via /me/friends
. This has been discussed here dozens of times, and Facebook docs clearly descibe this.
Have a look at