Facebook api, getting comments, not just like_count

Using the facebook api explorer graphic, I am trying to get “like” for a comment in a public group. The request that I use is

->/v2.1/340032752841177?fields=feed{message,comments{likes,message,from,like_count}}

Where 340032752841177 is the group identifier. The tool accepts this request in order, but it calmly does not return a list of “likes” in the comments:

    "comments": {
      "data": [
        {
          "message": "Henry comment.", 
          "from": {
            "id": "830700716960157", 
            "name": "Henry Carmichael"
          }, 
          "like_count": 1, 
          "id": "340035706174215"
        }
      ], 

I would expect a list of similar ones to appear in the dictionary above.

In another SO question, I found out that I can get similar comments like this:

->/v2.1/340032752841177_340035436174242_340035706174215/likes

"data": [
{
  "id": "10152551090402608", 
  "name": "Charlie Burns"
}
], 

Where 340032752841177_340035436174242 is the message identifier, and 340035706174215 is the comment identifier.

The problem with this approach is that I have to make a request for each comment, and I am parsing a large facebook group with many comments.

"" ? .

+4
1

, , .

->/v2.1/340032752841177/feed?fields=comments.summary(true), , . :

"comments": {
        "data": [
          {
            "id": "340035706174215", 
            "from": {
              "id": "830700716960157", 
              "name": "Henry Carmichael"
            }, 
            "message": "Henry comment.", 
            "can_remove": false, 
            "created_time": "2014-10-06T15:21:55+0000", 
            "like_count": 1, 
            "user_likes": false
          }
        ] 

, . . .

, API- Graph API. :

enter image description here

, "likes_list", .

- , .

+3

All Articles