Search code examples
facebookstreamfacebook-fqlfacebook-checkins

(Facebook) How to get user check-ins with FQL


I can get users check-ins with Graph API but not with FQL.

SELECT place FROM stream WHERE filter_key = 'owner' AND with_location = 'true' AND type = 285

Returns empty result.

SELECT message FROM checkin WHERE author_uid = me()

This returns very old check-ins which is like deprecated table.

How can I get FQL query to work with current users check-ins?


Solution

  • The problem here is that looks like Facebook deprecated checkin table and there are no new checkins here anymore. They started to use location_post table. So to get your checkins you may use

    SELECT app_id, coords, author_uid, id, message, page_id, page_type, post_id, tagged_uids, timestamp, type FROM location_post WHERE author_uid = me()