如何获取Facebook群组post的用户数据?原来poster

How to get the user data of a facebook group post? The original poster

我从 Facebook Graph API 中得到了一个 post 对象:

GET/v2.5/142679255268_10153887281355269

其中returns一个像这样的对象:

{
  "created_time": "2016-03-25T03:28:50+0000",
  "message": "Whats up everybody, I am here now",
  "id": "142679255268_10153887281355269"
}

如何获取post编辑此内容的用户的个人资料? 我查看了文档但找不到任何内容,但我知道这是可能的。

这适用于 Post 项:

/142679255268_10153887281355269?fields=from

它returns以下JSON:

{
  "from": {
    "name": "Bhumi Patel",
    "id": "10153245821277822"
  },
  "id": "142679255268_10153887281355269"
}

更多信息:https://developers.facebook.com/docs/graph-api/reference/v2.5/post/

编辑:出于数据隐私原因,您可能无法再获得用户名。