ila
ila

Reputation: 920

Page id in facebook api fql/places

I am trying to use fql/places api to query places near to my current location. I am not sure what does page id mean in the following query. The query works fine and returns expected result. However if i dont use page id I get an error.

https://api.facebook.com/method/fql.query?   query=SELECT+name%2Cdescription%2Cgeometry%2Clatitude%2Clongitude%2Ccheckin_count%2Cdisplay_subtext+FROM+place+WHERE+page_id%3D110506962309835&access_token=...

Following result was returned

Facebook Palo Alto We’re building a web where the default is social. Point -122.15198690595 37.4163458217 37.4163458217 -122.15198690595 657486 Corporate Office・158,101 were here

Upvotes: 1

Views: 1199

Answers (1)

Joakim Syk
Joakim Syk

Reputation: 1011

https://graph.facebook.com/search?type=place&center=65.5833,22.15&distance=1000

See this answer for more information on how to find YOUR location.

What you did was to look for location information associated with a specific Facebook Page (in this case Facebook HQ).

Upvotes: 1

Related Questions