instagram_basic<br>instagram_manage_comments<br>pages_read_engagement<br>If the app user was granted a role on the Page via the Business Manager, you will also need one of:<br>ads_management<br>ads_read
curl -X GET \ 'https://graph.facebook.com/v25.0/17841405309211844?fields=mentioned_comment.comment_id(17873440459141021){timestamp,like_count,text,id}&access_token=IGQVJ...'
You can expand the media field with a list of IG Media fields to get additional data on the IG Media entity on which the comment was made. For example:
http
media{id,media_url}
v10.0 and older calls until September 7, 2021: The like_count field on an IG Media will return 0 if the media owner has hidden like counts on it.
v11.0+ calls, and all versions on September 7, 2021: If indirectly querying an IG Media through another endpoint or field expansion, the like_count field will be omitted from API responses if the media owner has hidden like counts on it. Directly querying the IG Media (which can only be done by the IG Media owner) will return the actual like count, however, even if like counts have been hidden.
curl -X GET \ 'https://graph.facebook.com/v25.0/17841405309211844?fields=mentioned_comment.comment_id(17873440459141021){timestamp,like_count,text,media{id,media_url}}&access_token=IGQVJ...'
If you are using field expansion to access an edge that supports cursor-based pagination, the response will include before and after cursors if the response contains multiple pages of data. Unlike standard cursor-based pagination, however, the response will not include previous or next fields, so you will have to use the before and after cursors to construct previous and next query strings manually in order to page through the returned data set.
IG User Mentioned Comment
Returns data on an IG Comment in which an IG User has been @mentioned by another Instagram user.
Creating
This operation is not supported.
Reading
GET /{ig-user-id}?fields=mentioned_comment.comment_idReturns data on an IG Comment in which an IG User has been @mentioned by another Instagram user.
Limitations
This endpoint will return an error if comments have been disabled on the IG Media on which the IG User has been @mentioned.
Requirements
instagram_basic<br>instagram_manage_comments<br>pages_read_engagement<br>If the app user was granted a role on the Page via the Business Manager, you will also need one of:<br>ads_management<br>ads_readMANAGE,CREATE_CONTENT, orMODERATERequest Syntax
Query String Parameters
{access_token}<br>Required<br>String{comment-id}<br>Required<br>String{fields}<br>Comma-separated listFields
id<br>Default<br>Stringlike_count<br>Stringmedia<br>Stringtext<br>Default<br>Stringtimestamp<br>Default<br>StringResponse
Sample Request
Sample Response
Field Expansion
You can expand the
mediafield with a list of IG Media fields to get additional data on the IG Media entity on which the comment was made. For example:v10.0 and older calls until September 7, 2021: The
like_countfield on an IG Media will return0if the media owner has hidden like counts on it.v11.0+ calls, and all versions on September 7, 2021: If indirectly querying an IG Media through another endpoint or field expansion, the
like_countfield will be omitted from API responses if the media owner has hidden like counts on it. Directly querying the IG Media (which can only be done by the IG Media owner) will return the actual like count, however, even if like counts have been hidden.Sample Field Expansion Request
Sample Field Expansion Response
Pagination
If you are using field expansion to access an edge that supports cursor-based pagination, the response will include
beforeandaftercursors if the response contains multiple pages of data. Unlike standard cursor-based pagination, however, the response will not includepreviousornextfields, so you will have to use thebeforeandaftercursors to constructpreviousandnextquery strings manually in order to page through the returned data set.Updating
This operation is not supported.
Deleting
This operation is not supported.