As far as I can tell, this is not something you can do. This is because Facebook sets it as βindexableβ columns in its tables. For example, the page table has the type identifier, and the SHOWS TV category identifier is 89, so you can run the FQL query, for example:
https://api.facebook.com/method/fql.query?query=SELECT page_id, name FROM page WHERE type=89
or perhaps:
https://api.facebook.com/method/fql.query?query=SELECT page_id, name FROM page WHERE type='TV SHOW'
But you will receive this notification:
Your expression is not indexable. The WHERE clause must contain an indexable column.
Unfortunately, only two indexable columns for WHERE statements that use the page table are page_id and name . Thus, you can query this table only one page at a time. Which makes sense when you consider how expensive such a search would be in billions of records.
You can perform a general search for the column "TV show", but it will not give results for the page index according to your request:
https://graph.facebook.com/search?q=TV%20SHOWS&type=page
The Graph API is more concerned with introspection / relationships between objects than with an open search protocol.
source share