我已經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