facebook api fql / places中的页面ID

时间:2012-05-25 08:47:13

标签: facebook-fql

我正在尝试使用fql / places api来查询我当前位置附近的地方。我不确定页面ID在以下查询中的含义。查询工作正常并返回预期结果。但是,如果我不使用页面ID,我会收到错误。

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=...

返回以下结果

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

1 个答案:

答案 0 :(得分:1)

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

有关如何查找您的位置的详情,请参阅this answer

您所做的是查找与特定Facebook页面相关的位置信息(在本例中为Facebook总部)。