Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Search for Facebook public events

from the facebook documentation I know that

https://graph.facebook.com/search?q=conference&type=event

will perform a search of the word "conference" in the name and description of all public events.

is it possible to search for ALL the events without specifying the "query" parameter? Basically I don't want to limit the search to a keyword, I want to get ALL the public events (of course I will limit the research using the location field).

Also is there any list of possible categories I can use for searching between events? Using query sets a limitation in particular for the language (in different countries I have to search for different keywords,instead with a category I would fix this problem).

thanks a lot

Claus

like image 644
Claus Avatar asked Dec 04 '25 06:12

Claus


1 Answers

You need to specify a q (query) parameter, but you can use the fields parameter to specify the fields in which you're searching. You may be able to achieve what you're trying to do by using this parameter.

See https://developers.facebook.com/docs/reference/api/#searching for more info.

like image 156
Connor Treacy Avatar answered Dec 06 '25 00:12

Connor Treacy