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.
Authorization
bearerAuth API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.
In: header
Path Parameters
The ID of a connected Instagram account (Facebook Login).
Instagram comment ID of the comment that mentions the account (digits only).
^[0-9]+$length <= 32Response 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" }}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.