Identify captions, comments, and IG Media in which an Instagram Business or Creator's alias has been tagged or @mentioned.
The API consists of the following endpoints:
GET /{ig-user-id}/tags
— to get the media objects in which a Business or Creator Account has been taggedGET /{ig-user-id}?fields=mentioned_comment
— to get data about a comment that an Business or Creator Account has been @mentioned inGET /{ig-user-id}?fields=mentioned_media
— to get data about a media object on which a Business or Creator Account has been @mentioned in a captionPOST /{ig-user-id}/mentions
— to reply to a comment or media object caption that a Business or Creator Account has been @mentioned in by another Instagram userRefer to each endpoint reference document for usage instructions.
Subscribe to the mentions
field to recieve Instagram Webhooks notifications whenever an Instagram user mentions an Instagram Business or Creator Account. Note that we do not store Webhooks notification data, so if you set up a Webhook that listens for mentions, you should store any received data if you plan on using it later.
You can listen for comment @mentions and reply to any that meet your criteria:
mentions
field.GET /{ig-user-id}/mentioned_comment
endpoint to get more information about each comment.POST /{ig-user-id}/mentions
endpoint to reply to those comments.The reply will appear as a sub-thread comment on the comment in which the Business or Creator Account was mentioned.
You can listen for caption @mentions and reply to any that meet your criteria:
mentions
field.GET /{ig-user-id}/mentioned_media
endpoint to get more information about each media object.POST /{ig-user-id}/mentions
endpoint to comment on those media objects.