Reputation: 41
I'm using the Facebook Graph API to search for a business's Page. I've included type=page in the search query, however the results contain several Place results that are listed as "Unofficial Pages".
Is there an easy way to filter the Unofficial Pages out of the results? I can't seem to find any documentation on how to do this.
For example, a local search is returning the following results for the same business....
Official Page: https://www.facebook.com/Turtle-Creek-Vineyard-1652393331683838/
Unofficial Place: https://www.facebook.com/pages/Turtle-Creek-Vineyard/130640440336061
I would like to figure out how to have the first, official result returned only. Or, if there is parameter that I can use to filter out the unofficial, place results.
Upvotes: 4
Views: 902
Reputation: 157
Use the Field "is_unclaimed". If it is true, that's mean that the page is "Unofficial Page".
Upvotes: 0
Reputation: 73984
There is no filter option according to the docs about the Search API: https://developers.facebook.com/docs/graph-api/using-graph-api#search
You will have to filter on your own after getting the results.
Upvotes: 2