facebook sharedposts list上的网页和粉丝页面有什么区别?

时间:2014-09-11 08:45:29

标签: facebook facebook-graph-api

我可以使用Graph API Explorer V2.1获取

粉丝专页https://www.facebook.com/shares/view?id=10152296286407478 sharedposts list 10152296286407478?metadata=1&fields=metadata.fields(type,connections)

但我无法得到

网页http://mall.suiis.com/event/2014/earthday/data/index.aspx sharedposts list 599825380102019?metadata=1&fields=metadata.fields(type,connections)

使用599825380102019/sharedposts显示空数据。

如何获取网页共享帖子列表?

1 个答案:

答案 0 :(得分:0)

如您所见,OpenGraph类型网站没有名为 sharedposts 的连接:

https://developers.facebook.com/tools/explorer?method=GET&path=599825380102019%3Fmetadata%3D1%26fields%3Dmetadata.fields(type%2Cconnections)&version=v2.1

结果:

{
  "metadata": {
    "type": "opengraphobject:website", 
    "connections": {
      "comments": "https://graph.facebook.com/599825380102019/comments?pretty=0", 
      "likes": "https://graph.facebook.com/599825380102019/likes?pretty=0", 
      "picture": "https://graph.facebook.com/599825380102019/picture?pretty=0"
    }
  }, 
  "id": "599825380102019"
}

这就是在查询/599825380102019/sharedposts时得到空结果的原因。