boogie666
boogie666

Reputation: 650

How get friends Check Ins since a date?

So i'm trying to get friends check ins form a specific date up to "now"
Like so:

   search?type=checkin&since=1343613333633


(1343613333633 = 30 Jul 2012 01:55:33 GMT)
And I always get {"data":[]}
with out the "since" param i some check ins (all of them after that date)
i get the same results both on graph api explorer and from Android Facebook SDK (not sure if this is important)

How do i fix this?



Thx in advance.

Upvotes: 1

Views: 508

Answers (1)

Arjuna Del Toso
Arjuna Del Toso

Reputation: 589

You can easily use FQL to do it:

SELECT coords, tagged_uids, page_id, timestamp FROM checkin WHERE author_uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) and timestamp > 1312971542

will give you the list of friend checkins of the current logged in user since timestamp. Be sure to have the friends_checkins permission when retrieving the access token.

Upvotes: 1

Related Questions