Get facebook user sessions

I need to get a list of facebook user checks both in photos and in state .

I tried using graph api to query / me / locations' like:

$this->api->api('/me/locations?limit=1000'); 

It returns me a list of user checks with three different types: photo, check or status.

My problem is that I need to get photos with user sessions, but I can not find them.

Can anyone help?

thanks

+6
source share
1 answer

If you look at the User documentation, under the headings of the headings, it indicates a method for retrieving only messages that have a location (Checkin).

https://graph.facebook.com/me/feed?with=location

Regarding receiving photos with a location (Checkin), there seems to be no documentation that suggests that photos can be filtered out in the same way that messages can be filtered. In the best case, I think you will have to download all the photos and then filter out those that don't have the place tag. Messages use a location tag, while photos use a location tag.

+7
source

All Articles