Facebook Graph API:从自己的墙上获取所有帖子和共享链接

时间:2017-03-24 15:32:52

标签: php facebook facebook-graph-api

我对Facebook Graph API有一些问题。

我必须从自己的墙上获得最后100个帖子,我必须看到帖子的所有共享链接和帖子的“喜欢”。我尝试使用https://developers.facebook.com/docs/graph-api/reference/v2.8/user/feed请求链接但我收到的帖子没有其他信息:

{
  "data": [
    {
      "message": "google.com",
      "created_time": "2017-03-24T15:24:21+0000",
      "id": "806657239481548_824418764372062"
    },
    {
      "story": "Vladimir  Grichenko shared a link.",
      "created_time": "2017-03-23T16:19:45+0000",
      "id": "806657239481548_823904527756819"
    },
    {
      "story": "Vladimir  Grichenko shared a link.",
      "created_time": "2017-01-19T15:50:55+0000",
      "id": "806657239481548_787402548073684"
    },
    {
      "story": "Vladimir  Grichenko updated his profile picture.",
      "created_time": "2016-03-28T16:01:43+0000",
      "id": "806657239481548_638636656283608"
    }
 ]
}

有人可以帮忙吗?我想了解更多关于帖子的信息。谢谢!

0 个答案:

没有答案