Like comment
Like or upvote a comment on a post. Supported platforms: Facebook, Twitter/X,
Bluesky, Reddit, LinkedIn. For Bluesky, the cid (content identifier) is required
in the request body. For LinkedIn, pass the composite comment URN returned by the
comments endpoints as commentId; an optional reactionType picks the reaction
(defaults to LIKE), and accounts connected before the social-feed scopes were
requested get a 403 with code linkedin_reconnect_required.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
The social account ID
(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.
"LIKE" | "PRAISE" | "EMPATHY" | "INTEREST" | "APPRECIATION" | "ENTERTAINMENT"(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"
}{
"error": "Unauthorized"
}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.
Like post POST
Like (or react to) a post as a connected account. Supported platforms: LinkedIn, Twitter/X, Facebook, YouTube, Bluesky. Instagram, Threads, TikTok and Pinterest expose no like endpoint in their APIs and return 400. Reddit returns 400 too, pointing at `POST /v1/accounts/{accountId}/reddit-vote`, which covers upvote, downvote and clear on both posts and comments. The account does not have to be the one that published the post, which is what makes executive engagement possible: pass an exec's `accountId` and the brand post's ID. `postId` accepts either a Zernio post ID or the platform's native post ID. A Zernio post ID resolves to the entry for `accountId`, falling back to the post's single entry on the same platform (two entries on that platform is a 400, so pass the native ID). LinkedIn requires the `w_member_social_feed` / `w_organization_social_feed` scopes, which are not retroactive: accounts connected before those were requested get a 403 with code `linkedin_reconnect_required` until the user reconnects the account. YouTube spends 50 quota units per call.