Is it possible to retrieve insight data for comments and likes of CAROUSEL_ALBUM using Instagram's Graph API?

25 Views Asked by At

I tried to retrieve insight data for comments and likes of CAROUSEL_ALBUM using the following endpoint, but I encountered the following error.

get comments

https://graph.facebook.com/v19.0/{media-id}/insights?metric=reach,saved,comments&period=day&since=1709335531&access_token={access_token}
{
   "error": {
      "message": "(#100) Incompatible metric (comments) with the media",
      "type": "OAuthException",
      "code": 100,
      "fbtrace_id": "AXS"
   }
}

get likes

https://graph.facebook.com/v19.0/{media-id}/insights?metric=reach,saved,likes&period=day&since=1709335531&access_token={access_token}
{
   "error": {
      "message": "(#100) Incompatible metric (likes) with the media",
      "type": "OAuthException",
      "code": 100,
      "fbtrace_id": "AKkUu"
   }
}

I can retrieve reach and saved, but I cannot retrieve insight data for comments and likes of CAROUSEL_ALBUM. How can I retrieve insight data for comments and likes of CAROUSEL_ALBUM?

0

There are 0 best solutions below

Related Questions in INSTAGRAM-GRAPH-API