Search code examples
facebookfacebook-graph-apifacebook-fqlfacebook-field-expansion

Graph api explorer - what is the "with" modifier


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


Solution

  • 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).