Does facebook graph api provide support for searching Post messages by specific location?
The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that apps can use to programmatically query data, post new stories, manage ads, upload photos, and perform a wide variety of other tasks.
What is the Facebook API? The Facebook Graph API is an HTTP-based API that allows developers to extract data and functionality from the Facebook platform. Applications can use this API to programmatically query data, post in pages and groups, and manage ads, among other tasks.
The Graph API is the primary way for apps to read and write to the Facebook social graph.
Sign in to your Facebook account using either your username or your registered email address and password. Activate Graph Search. If you have never used Graph Search before, activate this feature using this link: www.facebook.com/about/graphsearch. Once the page opens up, click on the "Try Graph Search" link.
It's going to be a multi-step process.
fql?q=SELECT post_id, message, attachment FROM stream WHERE source_id = {pageId}
You can now directly search for posts, photos near a location: https://developers.facebook.com/docs/reference/api/#searching
It was announced yesterday: http://developers.facebook.com/blog/post/2012/03/07/building-better-stories-with-location-and-friends/
An example from the docs: https://graph.facebook.com/search?type=location¢er=37.76,-122.427&distance=1000&access_token=whatever
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With