Reputation: 1355
Searching for posts close to a location in facebook graph api:
In graph api v1.0 you would run something like this query: https://graph.facebook.com/search?type=location¢er=[LAT,LON]&distance=[RADIUS]&fields=status&limit=15&access_token=[TOKEN]
As I understand v1.0 of the graph api will expire in april 2015.
How, if possible, can I do a similar search/query in v2.0 to get posts/statuses/photo posts/checkins close to a location. Has anyone done some digging into this?
Upvotes: 1
Views: 610
Reputation: 31479
According to the ChangeLog searching for public posts will no longer be available in v2.0:
https://developers.facebook.com/docs/apps/changelog#v2_0_graph_api (section "Endpoints no longer available in v2.0")
Public Post search is no longer available. (/search?type=post&q=foobar)
Coming back to your question, the search call you posted will search for LOCATIONS, not posts.
Upvotes: 1