Graph api explorer - what is the "with" modifier

2.5k Views Asked by At

In Facebook Graph API explorer, there is a "with" modifier (along with since, filter, limit etc).
What is it used for?

1

There are 1 best solutions below

1
On BEST ANSWER

You can use with modifier to filter posts that contains a location attatched to them.

From Facebook:

You can retrieve only posts with a location attached by adding with=location to the URL parameters:

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

Works for feed (Wall Posts), posts (Posts by the user himself) and home (News Feed).