Get post comments
Fetch comments for a specific post. Requires accountId query parameter.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Zernio post ID or platform-specific post ID. Zernio IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
Query Parameters
(Reddit only) Subreddit name
Maximum number of comments to return
251 <= value <= 100Pagination cursor
(Reddit only) Get replies to a specific comment
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.comments.getInboxPostComments({ path: { postId: 'post_abc123', }, query: { accountId: 'account_abc123', },});console.log(data);{
"status": "string",
"comments": [
{
"id": "string",
"message": "string",
"createdTime": "2019-08-24T14:15:22Z",
"from": {
"id": "string",
"name": "string",
"username": "string",
"picture": "string",
"isOwner": true,
"verifiedType": "blue"
},
"likeCount": 0,
"replyCount": 0,
"platform": "string",
"url": "string",
"replies": [
{}
],
"canReply": true,
"canDelete": true,
"canHide": true,
"canLike": true,
"isHidden": true,
"isLiked": true,
"likeUri": "string",
"cid": "string",
"parentId": "string",
"rootUri": "string",
"rootCid": "string"
}
],
"pagination": {
"hasMore": true,
"cursor": "string"
},
"meta": {
"platform": "string",
"postId": "string",
"accountId": "string",
"subreddit": "string",
"lastUpdated": "2019-08-24T14:15:22Z",
"adComments": {
"adId": "string",
"adCommentsUrl": "string"
}
}
}{
"error": "Unauthorized"
}List commented posts GET
Returns posts with comment counts from all connected accounts. Aggregates data across multiple accounts. For users with the Ads add-on (Metronome plans always qualify), the user's Meta ads (boosted/dark posts) are included too. There's one row per (ad, placement-with-comments): an ad that runs on both Facebook feed and Instagram feed produces up to two rows (the Page dark post and the IG media have separate comment threads), each flagged `isAd: true` with `adId` and `placement` (`id` is `{adId}:{placement}`). Use `?platform=metaads` to return *only* ad rows; passing `facebook`/`instagram` returns *organic* posts only (no ads); omitting `platform` returns both. Fetch a row's thread from GET /v1/ads/{adId}/comments?placement={placement}. Ad comment counts are read with the Marketing API token (Facebook side) or the connected Instagram account's token (Instagram side); a row whose count can't be read is omitted.
Delete comment DELETE
Delete a comment on a post. Supported by Facebook, Instagram, Bluesky, Reddit, YouTube, and LinkedIn. Requires accountId and commentId query parameters.