0

我正在做这种形式的查询:

https://graph.facebook.com/search?q=Beshoff&fields=likes,checkins,products,name,talking_about_count,description,category&type=place&center=37.327453,-121.813102&distance=400

我有兴趣找出可以为 Place 对象选择的详尽字段列表。

特别是,在特定地点的 facebook 页面上,通常会列出多个类别,我无法确定是否可以使用 Graph API 进行检索。

例如,在https://www.facebook.com/BeshoffInfiniti上,有一个条目“Car Dealership”,但上面的图形 api 调用返回“Local business”。

4

3 回答 3

1

If you leave out the "fields" attribute in your query you will get all the fields. The number of fields depends on the object type (for example owned pages vs. wiki pages)

于 2012-06-30T23:36:36.267 回答
0

One thing to try is the Facebook Open Graph schema entry for Page and Place.

You'll find all the additional fields for Pages. You can think of places as a subclass of pages.

If you're curious about the types of page that might be returned, try having a look through the create a page flow.

于 2012-07-01T01:20:45.093 回答
0

不要只看 Graph API。看看FQL。FQL 与 API 中有不同的可用字段。是的,使用该distance功能,您可以查找某个区域的地点。

图形 API != FQL

于 2012-07-01T01:03:46.660 回答