I want to get my friends which belongs to my city from facebook and for this i use current_location.city. But its not working... please help me. Thanks
A:
The FQL query is simple:
SELECT current_location FROM user WHERE uid = ID_HERE
The returned value is an array - maybe that's why you're off.
The questions are:
- has the user filled out the location
- do privacy settings permit you to access it
Share some code in your question, and someone might be able to help.
Till
2010-05-12 13:16:49
I got the current_location values in array. But I want only city or only state is it possible??
Ashish Jagnani
2010-05-14 12:59:10
A:
You need user's extended permission for current location. Until user approved current location extended permission you can't retrieve it.
You can check the latest graph api base tutorial from here: http://thinkdiff.net/facebook/graph-api-javascript-base-facebook-connect-tutorial/
Mahmud Ahsan
2010-05-12 17:12:29