Zernio
APIFor you
Zernio
APIFor you
API Reference

Instagram

List the live broadcasts of an Instagram accountGETList the collaborators of an Instagram postGETList active Instagram storiesGETList the posts an Instagram account is tagged inGETSearch Instagram audioGETGet Instagram audio metadataGETLook up a public Instagram Business accountGETGet a comment that mentions an Instagram accountGETGet a post that mentions an Instagram account in its captionGETGet Instagram publishing limitGETGet Instagram story insightsGET
Dashboard
OverviewPlatformsAPI ReferenceResources
Instagram

Get a comment that mentions an Instagram account

Returns a comment in which another Instagram user @mentioned the connected account, with the post it was left on. Meta sends the comment ID in its mention notification and offers no list of mentions, so this reads one mention by ID. Meta answers an error when comments are disabled on that post.

Requires an Instagram account connected via Facebook Login. Meta serves mentions on graph.facebook.com only, so accounts connected with classic Instagram Login receive a 400 (instagram_mentions_require_facebook_login) and must be reconnected choosing the Facebook option.


GET
/v1/accounts/{accountId}/instagram/mentions/comments/{commentId}

Authorization

bearerAuth
AuthorizationBearer <token>

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

In: header

Path Parameters

accountId*string

The ID of a connected Instagram account (Facebook Login).

commentId*string

Instagram comment ID of the comment that mentions the account (digits only).

Match^[0-9]+$
Lengthlength <= 32

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.instagram.getInstagramMentionedComment({  path: {    accountId: 'account_abc123',    commentId: '17894227972186120',  },});console.log(data);
{  "id": "string",  "text": "string",  "timestamp": "string",  "likeCount": 0,  "media": {    "id": "string"  }}
Was this page helpful?

Look up a public Instagram Business account

Returns the public profile and most recent media of any Instagram Business or Creator account, looked up by username through one of your connected Instagram accounts. Useful for competitor and market research. Personal accounts and private accounts cannot be looked up. Requires an Instagram account connected via **Facebook Login**. Meta serves business discovery on graph.facebook.com only, so accounts connected with classic Instagram Login receive a 400 (`instagram_business_discovery_requires_facebook_login`) and must be reconnected choosing the Facebook option. Any one such account can look up any public Business or Creator handle. `likeCount` is null when the owner hides like counts. Media URLs are temporary, and fields Meta does not return come back as null, never omitted.

Get a post that mentions an Instagram account in its caption

Returns a post in which another Instagram user @mentioned the connected account in the caption. Meta sends the media ID in its mention notification and offers no list of mentions, so this reads one mention by ID. Mentions in Stories are not supported by Meta. Requires an Instagram account connected via **Facebook Login**. Meta serves mentions on graph.facebook.com only, so accounts connected with classic Instagram Login receive a 400 (`instagram_mentions_require_facebook_login`) and must be reconnected choosing the Facebook option.