我已经POST_ID的哪个用户份额的地位iOS应用,现在随着图形API,我得到的评论信息和类似信息:如何获得在我的Facebook上发表评论的用户的照片?
POST_ID?fields=likes.fields(pic_square,name),comments
通过以上,我能够获取大部分的细节,但不包括对帖子发表评论的用户的个人资料图片。检查哪些我收到信息: -
{
"id": "POST_ID",
"updated_time": "2014-03-25T07:07:14+0000",
"likes": {
"data": [
{
"pic_square": "https://fbcdn-profile-a.akamaihd.net/static- ak/rsrc.php/v2/yo/r/UlIqmHJn-SK.gif",
"name": "User name",
"id": "100007640XXXXX"
}
],
"paging": {
"cursors": {
"after": "MTAwMDA3NjQwMzcxMzQxxx",
"before": "MTAwMDA3NjQwMzcxMzQxxx"
}
}
},
"comments": {
"data": [
{
"id": "2069772628xxxxxx",
"from": {
"name": "user name",
"id": "100007640xxxxxx"
},
"message": "great reader..",
"can_remove": true,
"created_time": "2014-03-26T06:19:36+0000",
"like_count": 0,
"user_likes": false
}
],
"paging": {
"cursors": {
"after": "MQ==",
"before": "MQ=="
}
}
}
}
现在我需要谁的评论后,我得到的用户谁喜欢图片的用户的图片,但不是谁评论。我试图用FQL来获得它,但没有成功。
任何人知道如何用做: - HTTPS:/ /developers.facebook.com/docs/graph-api/making-multiple-requests/? – Shrejas