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

Not able to get friend list

rohitjindal1184 opened this issue · comments

Hi,
When i try to run your demo. i am unable to get the friend list. it returns empty array. When i debug the code, i get that Facebook SDK method returning the No of friends but not the friend list.

Thanks

Hello @rohitjindal1184 , 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.

HI,

There is any way to get friends.

You could use the 1.0 version, but ....

The current, latest version of the Graph API is v2.2. Apps calling v1.0 have Until April 30, 2015 to upgrade to v2.0 or later.

https://developers.facebook.com/docs/graph-api/reference/v1.0/user/friends?locale=pt_BR