Represents a collection of IG Comments on an IG Media object.
Comments on Ads containing IG Media (i.e. non-organic comments) are of a different type and are not supported. To get non-organic comments, use the Marketing API and request the Ad's effective_instagram_media_id. You can then query the returned ID's /comments edge to get a collection of non-organic Instagram Comments. Refer to the Marketing API's Post Moderation guide for more information.
| Instagram API with Instagram Login | Instagram API with Facebook Login | |
|---|---|---|
Access Tokens |
| |
Host URL |
|
|
Login Type | Business Login for Instagram | Facebook Login for Business |
| Permissions |
|
If the app user was granted a role via the Business Manager on the Page connected to the targeted IG User, you will also need one of:
|
POST /<IG_MEDIA_ID>/comments?message=<MESSAGE_CONTENT>
Creates an IG Comment on an IG Media object.
Comments on live video IG Media are not supported.
Query string parameters are optional unless indicated as required.
<MESSAGE_CONTENT> (required) — The text to be included in the comment.POST graph.facebook.com /17895695668004550/comments?message=This%20is%20awesome!
{
"id": "17870913679156914"
}GET /<IG_MEDIA_ID>/comments
Returns a list of IG Comments on an IG Media object.
replies field.An access token from a User who created the IG Media object, with the following permissions:
instagram_basicinstagram_manage_commentsIf the token is from a User whose Page role was granted via the Business Manager, one of the following permissions is also required:
ads_managementads_readGET graph.facebook.com /17895695668004550/comments
{
"data": [
{
"timestamp": "2017-08-31T19:16:02+0000",
"text": "This is awesome!",
"id": "17870913679156914"
},
{
"timestamp": "2017-08-31T18:10:30+0000",
"text": "*Sniff*",
"id": "17873440459141021"
}
]
}This operation is not supported.
This operation is not supported.