IPhone : Facebook Graph API - Searching all pages in a specific category, in specific city/country

on Tuesday, February 24, 2015

I'm looking for some help on figuring out how to search for all Facebook pages in a specific category, in a specific city/country. Im currently using the following:



var params = ["fields": "id,category"]

FBRequestConnection.startWithGraphPath("/search?q=boston&type=place&type=page",parameters:params,HTTPMethod: "GET")


I am currently getting results, but they seem to be of all categories. Also some pages are missing, that should actually be there, and I've checked that the city is mentioned on that page. Is Facebook limiting the results? I realize that the above mentioned search doesn't cover the category, as I tried that too, but no difference in search results (searching for gyms) "/search?q=boston&type=place%20gym&type=page".


Can someone please help me figure how to get the best result using the category pages, and retrieve all page results for a specific city/country.


0 comments:

Post a Comment