Search Facebook events by location

I plan to use the FB API to access events. For example, if I choose Sri Lanka. All events at this address. If you guys are lucky to let me know. I am looking through the FQL deflection to do this, no luck.

This seems like something useful, I found it from a search, but could not. Get him to work as I need. https://graph.facebook.com/search?q=coffee&type=post&geo=id&lang=indonesia&location=indonesia

Please email me if you have any ideas.

PS: The final result is to capture events from FB and post something similar to tumblr on a blog.

+4
source share
2 answers

I didn’t work very much on the Facebook platform, but the following information may help you:

Read the Developer Documentation as it will tell you how to use the API methods and what are their limitations.

From what I understand, you can use https://graph.facebook.com/me/events?access_token=[a valid access token] to receive events that the current user has been invited to a hosting or hosting. It is important to understand that this information is intended for each user, and each user will have to authorize your application to use information about their signed events. This means that it may not be possible to do something like "Get a list of all the events taking place in Colombo, Sri Lanka." However, you can use the above api method to collect data from users who use your application. You can then use this data retrospectively by creating a graph that displays all the information about public events.

Hope this helps.

Dinesh.

+1
source

Facebook does not support searching events by location from the API. However, you can use the schedule search as follows: https://graph.facebook.com/search?q=srilanka&type=event it will be a search for events that have "srilanka" in the description or name or in their location. This does not guarantee that events originate from Sri Lanka, but you can filter the results based on the "location" field returned by the api.

+1
source

All Articles