I'm trying to retrieve a venue's information by searching for it using a particular geolocation on facebook. I'm trying to do this using FQL.
For example, I want to retrieve a Starbucks places info (I know the Starbucks is actually there), so far i have come up with:
SELECT name, description, latitude, longitude, checkin_count
FROM place
where page_id in ( SELECT page_id from place where name = 'Starbucks' ) and distance(latitude, longitude, "9.961718","-84.054542") < 1000
But unfortunately I only get the following error
"Your statement is not indexable. The WHERE clause must contain an indexable column. Such columns are marked with * in the tables linked from http://developers.facebook.com/docs/reference/fql "
Does someone know what am i doing wrong or how to do what i'm trying to?