I am working in facebook Application MVC 4 c# SDK 6
is there any way to get the list of all Facebook User. Either friend or not, who lives in California using Facebook Query Language
I am working in facebook Application MVC 4 c# SDK 6
is there any way to get the list of all Facebook User. Either friend or not, who lives in California using Facebook Query Language
List of your friends who live in California and have it list in their current location.
SELECT name, current_location
FROM User
WHERE uid IN (SELECT uid2 FROM Friend WHERE uid1 = me())
AND current_location.state = "California"
I don't think it's possible to pull this information on all Facebook users since the location column is not indexed. This answer does a good job explaining why searching by location along is not possible.
Helpful links:
The one word answer is No. But you can get access to users that have made their location public.
see similar question Facebook API: can I get detailed info about user's location?