Anuj Jindal
Anuj Jindal

Reputation: 1719

Facebook Graph API: Attend to event always returns nothing with response code 200

I am trying to use facebook graph api to get friends list
I am always getting

{Response: responseCode: 200, graphObject: GraphObject{graphObjectClass=GraphObject, state={"data":[]}}, error: null, isFromCache:false}

permissions are :
[installed, public_profile, read_stream, read_mailbox, publish_actions, user_likes, user_friends]

Please suggest me any way to get friends data.

Upvotes: 0

Views: 1029

Answers (2)

Wasim Ahmed
Wasim Ahmed

Reputation: 356

To get events, you must have current events on facebook. Check your profile first for events.

Upvotes: 0

Chandru
Chandru

Reputation: 5962

Hey Dude even i had the same issue and finally got the solution by myself. Check my answer from the link. The recent release of facebook SDK restricted several access and permissions. But still you can fetch friends list by using sdk 3.0 that can be found here. Download sendRequestHowto Sample from the above link.

Upvotes: 1

Related Questions