Hide comment
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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The social account ID
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.hideInboxComment({ path: { postId: 'post_abc123', commentId: 'comment_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{
"status": "string",
"commentId": "string",
"hidden": true,
"platform": "string"
}{
"error": "Unauthorized"
}Edit comment PATCH
Edit the body of a comment the connected account posted. Supported on Reddit only. Reddit keeps the same comment id after an edit. Reddit exposes no API to edit a post title, and a link post has no editable body. To edit a published post's body, use `POST /v1/posts/{postId}/edit`.
Like comment POST
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.