Skip to main content

Mention event + Post context

We're using POST /v1/inbox/mentions/reply for Instagram. The docs(earlier it said..maybe now removed after flagging) say to source mediaId and commentId from Instagram's comments webhook — but comment.received only fires for comments on our own tracked posts, not when our handle is @mentioned on someone else's post. How are we supposed toreceive Instagram mention notifications? Is there a webhook event or endpoint we're missing, or is Instagram mention detection not yet supported?

Also — for a post we don't own, is there any endpoint to fetch post metadata (caption, image, permalink) given a mediaId? We see the post object in the comment.received webhook payload carries this, but since that webhook doesn't fire for mentions on foreign posts, we have no way to get that context either. Does GET /v1/inbox/comments/{mediaId} or any other endpoint return post details for content we don't own?

Status: Completed3 comments

Log in to comment and vote

Comments3

  • Miquel Palet López

    Team•

    Nov 10

    Thanks for the request, this is live now. Subscribe a webhook to `mention.received` and you'll get an event whenever another account mentions yours in a post, caption or comment on Instagram, Facebook or LinkedIn.

    For Instagram, the event carries `mention.mediaId` (caption mentions) or `mention.commentId` (comment mentions), and you can fetch the full context with:
    - `GET /v1/accounts/{accountId}/instagram/mentions/media/{mediaId}` for the post that mentions you
    - `GET /v1/accounts/{accountId}/instagram/mentions/comments/{commentId}` for the comment, returned with the post it was left on

    The Instagram account needs to be connected with Facebook Login, and Meta doesn't expose Story mentions here.

    Docs: https://docs.zernio.com/webhooks/inbox/mention-received and https://docs.zernio.com/instagram/get-instagram-mentioned-comment

  • Miquel Palet López

    Team•

    Nov 10

    This shipped.

  • Miquel Palet López

    Team•

    Nov 9

    This is on our roadmap.