comments
Like comment
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X, Bluesky, Reddit. For Bluesky, the cid (content identifier) is required in the request body.
AuthorizationBearer <token>
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
postIdstring
commentIdstring
accountIdstring
The social account ID
cid?string
(Bluesky only) Content identifier for the 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.likeInboxComment({ path: { postId: 'post_abc123', commentId: 'comment_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{
"status": "string",
"commentId": "string",
"liked": true,
"likeUri": "string",
"platform": "string"
}Empty
{
"error": "Unauthorized"
}Empty
Hide comment POST
Hide a comment on a post. Supported by Facebook, Instagram, Threads, and X/Twitter. Hidden comments are only visible to the commenter and page admin. For X/Twitter, the reply must belong to a conversation started by the authenticated user.
Reply to comment POST
Post a reply to a post or specific comment. Requires accountId in request body.