Like 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.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Zernio post ID or the platform's native post ID
The social account acting as the liker
(LinkedIn only) Reaction to create. Defaults to LIKE; ignored on other platforms.
"LIKE" | "PRAISE" | "EMPATHY" | "INTEREST" | "APPRECIATION" | "ENTERTAINMENT"(Bluesky only) Content identifier of the post
Response Body
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.comments.likePost({ path: { postId: 'post_abc123', }, body: { accountId: 'account_abc123', },});console.log(data);{
"status": "string",
"postId": "string",
"platform": "string",
"liked": true,
"likeUri": "string"
}{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Unauthorized"
}Like comment POST
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`.
Reply to comment POST
Post a reply to a post or specific comment. Requires accountId in request body.