Posts tagged with facebook-comments

I am currently trying to retrieve likes and comments for my post on facebook graph explorer. I get response bug, there is only my like, those other are missing whereas there is really much more likes.

Retrieving comment, all comments are on the response but, comment's authors are missing whereas I set in the field query.

These are the autorisation I set:

  • pages_show_list
  • pages_read_engagement
  • pages_read_user_content
  • pages_manage_posts
  • pages_manage_engagement

This is the response for likes requests from facebook explorer: /404084156710515_625686649729154?fields=comments{from,created_time},likes{id,name,username}

{   "comments": {     "data": [       {         "created_time": "2023-09-24T04:43:38+0000",         "message": "comment1",         "id": "625686649729154_1692834397884940"       },       {         "created_time": "2023-09-23T14:06:09+0000",         "message": "comment2",         "id": "625686649729154_326839209849302"       },       {         "created_time": "2023-09-22T15:47:49+0000",         "message": "comment3",         "id": "625686649729154_288127333934812"       }     ],     "paging": {       "cursors": {         "before": "NgZDZD",         "after": "MQZDZD"       }     }   },   "likes": {     "data": [       {         "id": "27817357317847681",         "name": "ME"       }     ],     "paging": {       "cursors": {         "before": "QVFIUnRwSFRRc0ZAfLTFVS24wUjRrb1FrZAzMyNzRsU3ZA1RE5MakFvYm42aUptS1EtUzhuWlJXMUlGVHBpd3h5c3pQWHdzMGNNcWlqSkg3UFJxbEdrTG5Kd3BB",         "after": "QVFIUl9wanJEUDdON2tNV1JsRngyakdwZA1c2TENzTE95cUV6RHdGc01EdVhndWdmZAkduc3hWRFBGbTlrRTh3Yjl5YV9IaFV2VDlYcTAwTWxEeTNGdWxuc1ln"       },       "next": "https://graph.facebook.com/v21.0/404084156710515_625686649729154/likes?access_token=<MY_TOKEN>&pretty=0&fields=id%2Cname%2Cusername&limit=25&after=QVFIUl9wanJEUDdON2tNV1JsRngyakdwZA1c2TENzTE95cUV6RHdGc01EdVhndWdmZAkduc3hWRFBGbTlrRTh3Yjl5YV9IaFV2VDlYcTAwTWxEeTNGdWxuc1ln"     }   },   "id": "404084156710515_625686649729154" } 

I appreciate your help, thank you.

FB recently deprecated a number of page metrics, included some we used to generate charts of user interactions divided by day.

https://developers.facebook.com/docs/platforminsights/page/deprecated-metrics

In particular, one metric that was very useful was page_positive_feedback_by_type. It used to return a sum of actions including the counts of comments, likes, shares, over a range of time.

We tried page_post_engagements but it doesn't provide details on which types of engagement are recorded.

So far we're left without a clear way to populate a chart of page comments by a period of time. An alternative would be to get all post types, including ads, for a page, and query comments for all of them, but would result in a huge number of queries which can be both impractical or un-feasible for longer timespans or pages with lots of contents.

What are you using as replacements for these endpoints?