Reputation: 432
Wondering if anybody has had any problems using the facebook graph api to get checkins.
returns
{
"data": [
]
}
and any other ids insted of "me" return the same.
Anyone have any ideas?
Upvotes: 1
Views: 1230
Reputation: 9745
Allright fellows,
after some tries I can shed a light to this topic, here comes the description of the solution.
You can make such requests only by authorized apps.
I implemented the flow on Android and works like a charm,
here is an example call grabbed from logs:
https://graph.facebook.com/me/checkins?format=json&sdk=android&access_token=<access_token>
important note: access token MUST have been retrieved by your application, which has permissions for
"user_checkins", "friends_checkins"
getting access token is straight forward flow, explained well in all SDKs (p.s. I'm using Facebook-AndroidSDK)
Upvotes: 1