Socials

Likes or upvotes a comment. Supported on Facebook, Twitter/X, Bluesky, and Reddit. Bluesky requires the comment cid.

post/socials/posts/{post_id}/comments/{id}/like

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

post_id, string required

A Crevio post id (spost_...), or a post's id as GET /v1/socials/comments lists it.

id, string required

Upstream comment ID

Headers

Idempotency-Key, string

Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.

Request body

object required
account_id, string required

Connected account to act as (sacct_ prefix id).

cid, string

Bluesky only: comment content id.

Response

Comment liked

object required
status, string
comment_id, string
liked, boolean
platform, string

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision