Question

I am trying to get all Facebook users centered around 12.9667° N, 77.5667°E. How can I do this?

I have tried the following query. But the Center and distance parameter don't seem to be working .

https://graph.facebook.com/search?q=mark&type=user&center=12.9667,77.5667&distance=1000

I still get Mark Zuckerberg in the results, even though he is no where close to the specified Lat-Long.

Where am I going wrong?

Was it helpful?

Solution

The center and distance field don't apply to the user object because the current_location field is not publicly available through the API. So, they are just ignored.

user_location or friends_location permissions to view: current_location

Source: https://developers.facebook.com/docs/reference/fql/user/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top