lucascorrea / SCFacebook

The SCFacebook 4.1 is a simple and cleaner to use the api facebook-ios-sdk Objective-C Wrapper (https://github.com/facebook/facebook-ios-sdk) to perform login, get friends list, information about the user and posting on the wall with ^Block for iPhone. Suporte 4.71 FBSDKCoreKit, FBSDKShareKit and FBSDKLoginKit. Facebook SDK

Home Page:http://www.lucascorrea.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GetFriend List not working

sourabh-vvdn opened this issue · comments

[SCFacebook getUserFriendsCallBack:^(BOOL success, id result) {
loadingView.hidden = YES;
if (success) {
[self performSegueWithIdentifier:@"FriendSegue" sender:result];
}else{
Alert(@"Alert", [result description]);
}
}];
result contain no data

Hello @sourabh-vvdn , the new facebook api is returned only friends using your app.

https://developers.facebook.com/docs/graph-api/reference/v2.1/user/friends

This will only return any friends who have used (via Facebook Login) the app making the request.