Returns data on an IG Comment in which an IG User has been @mentioned by another Instagram user.
This operation is not supported.
GET /{ig-user-id}?fields=mentioned_comment.comment_id
Returns data on an IG Comment in which an IG User has been @mentioned by another Instagram user.
This endpoint will return an error if comments have been disabled on the IG Media on which the IG User has been @mentioned.
Type | Description |
---|---|
If the app user was granted a role on the Page via the Business Manager, you will also need one of: | |
|
GET https://graph.facebook.com/v19.0
/{ig-user-id}
?fields=mentioned_comment.comment_id({comment-id}){{fields}}
&access_token={access-token}
Parameter | Value |
---|---|
| The app user's User Access Token. |
| The ID of the IG Comment in which the IG User has been @mentioned. The ID is included in the Webhook notification payload. |
| A comma-separated list of IG Comment Fields you want returned. If omitted, default fields will be returned. |
Field | Description |
---|---|
| ID of the IG Comment. |
| Number of times the IG Comment has been liked. |
| ID of the IG Media on which the IG Comment was made. Use Field Expansion to get additional fields on the returned IG Media entity. |
| Text of the IG Comment. |
| IG Comment creation date formatted in ISO 8601. |
curl -X GET \
'https://graph.facebook.com/v19.0
/17841405309211844?fields=mentioned_comment.comment_id(17873440459141021){timestamp,like_count,text,id}&access_token=IGQVJ...'
{ "mentioned_comment": { "timestamp": "2017-05-03T16:09:08+0000", "like_count": 185, "text": "Shout out to @metricsaurus", "id": "17873440459141021" }, "id": "17841405309211844" }
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:
media{id,media_url}
Llamadas a la versión 10.0 y anteriores hasta el 7 de septiembre de 2021: el campo like_count
en un contenido multimedia de Instagram devuelve 0
si el propietario del contenido multimedia tiene ahí conteos de Me gusta ocultos.
Llamadas a la versión 11.0 y posteriores y todas las versiones desde el 7 de septiembre de 2021: si se consulta de forma indirecta un contenido multimedia de IG a través de otro punto de conexión o una expansión de campo, el campo like_count
se omitirá de las respuestas de la API si el propietario del contenido multimedia tiene ahí conteos de Me gusta ocultos. Solicitar de manera directa el contenido multimedia de IG (algo que solo el propietario del contenido multimedia de IG puede hacer) devolverá el conteo real de Me gusta, incluso si se ocultaron estos conteos.
curl -X GET \
'https://graph.facebook.com/v19.0
/17841405309211844?fields=mentioned_comment.comment_id(17873440459141021){timestamp,like_count,text,media{id,media_url}}&access_token=IGQVJ...'
{ "mentioned_comment": { "timestamp": "2017-05-03T16:09:08+0000", "like_count": 185, "text": "Shout out to @metricsaurus", "id": "17873440459141021", "media": { "id": "17895695668004550", "media_url": "https://scont..." } }, "id": "17841405309211844" }
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.
This operation is not supported.
This operation is not supported.