Facebook graph api 检索到的post对象缺少消息属性?
我正在尝试使用GraphAPI检索某个用户的所有评论(不是在特定的帖子上,而是以一种通用的方式) 我已经了解到,我需要查询用户的帖子,结果也将包含该用户的评论。 我设法检索特定用户的帖子列表,我确实看到了用户发布的评论。 但是,始终缺少消息属性:Facebook graph api 检索到的post对象缺少消息属性?,facebook-graph-api,post,message,Facebook Graph Api,Post,Message,我正在尝试使用GraphAPI检索某个用户的所有评论(不是在特定的帖子上,而是以一种通用的方式) 我已经了解到,我需要查询用户的帖子,结果也将包含该用户的评论。 我设法检索特定用户的帖子列表,我确实看到了用户发布的评论。 但是,始终缺少消息属性: { "id": "100005227004296_112167712300795", "from": { "name": "Karen Amebbgkdbif Lausen", "id": "100005227004
{
"id": "100005227004296_112167712300795",
"from": {
"name": "Karen Amebbgkdbif Lausen",
"id": "100005227004296"
},
"story": "\"Karens erster Kommentar zu...\" on Mike Amebkhdchid Letuchysky's photo.",
"story_tags": {
"35": [
{
"id": "100005200843894",
"name": "Mike Amebkhdchid Letuchysky",
"offset": 35,
"length": 27,
"type": "user"
}
]
},
"privacy": {
"value": ""
},
"type": "status",
"application": {
"name": "Photos",
"id": "2305272732"
},
"created_time": "2013-02-17T20:59:52+0000",
"updated_time": "2013-02-17T20:59:52+0000",
"comments": {
"count": 0
}
}
story属性包含消息的一部分,但不是全部
如何访问完整的评论(文本)
提前谢谢!
Alex您可能需要收回其他属性,例如类型、状态类型和描述。如果你喜欢时间线中出现的其他内容的链接或评论,可以从post feed返回 在图形API资源管理器中尝试以下字段以查看返回的数据:
id,created_time,from,message,type,description,story,status_type