I'm trying to search people using the Facebook API (Graph API or FQL, whichever works).
Up to this point, it's working just fine but I can't get it to be filtered by country or language.
I'm currently retrieving this URL:
'https://graph.facebook.com/search?q=' . somename . '&type=user&access_token=' . $access_token
I have tried adding &locale=... but that didn't work either.
try this:
http://graph.facebook.com/search?q=mccain%20chips&type=post&locale=en_US
I didn't find a way to filter according to a locale but there is a way to have the locale field with users informations :
https://graph.facebook.com/search?q=NAME&type=user&fields=locale,name&access_token=ACCESS_TOKEN
https://graph.facebook.com/search?q=SOME_SEARCH&type=user¢er=37.76,122.427&distance=1000
http://graph.facebook.com/search?q=SOME_SEARCH&type=user&locale=en_US
one of the more sophisticated methods is by fetching data from
www.facebook.com/search/results.php?q=paritosh&type=users&lo=812057
You can also fetch data from this link but it requires you logged in
http://www.facebook.com/search/ajax/?__a=1&lo=812057&q=paritosh&type=users&__user=1818667565
describing parameters :
- lo=location point
- q= query
- type= users
- __user = yours profile user id .
It seems this is not possible with Facebooks API.