在脸谱图搜索中,输入= post
https://graph.facebook.com/search?q=watermelon&type=post&token=XXXXXXXXX
它返回数据:
{
"data": [
{
"id": "100001477475394_211188005607114",
"from": {
"name": "Jerry Garcia",
"id": "100001477475394"
},
"message": "I like watermelon,fried chicken and koolaid !\nWhat does that make me ? lol",
"type": "status",
"created_time": "2011-09-07T21:33:28+0000",
"updated_time": "2011-09-07T21:33:58+0000",
"likes": {
"data": [
{
"name": "Natalie Hurtado",
"id": "100002486021428"
}
],
"count": 1
}
}
]
}
那么如何获得这篇文章的评论? (fql也欢迎)
什么是{data->id}
(100001477475394_211188005607114),我试过fql.steam query
没有回复,所以它不是post_id
。我怎样才能得到这个帖子ID?
感谢。
答案 0 :(得分:1)
add& fields = comments(,其他字段) 或者使用id / comments再次调用图表 有关详细信息,请参阅http://developers.facebook.com/docs/reference/api/post/ 寻找评论