Like or unlike a comment
Like or unlike a comment where the network supports it.
POST /v1/inbox/comments/:commentId/like
Like or unlike a comment. Works where the network supports it.
Auth: Bearer API key (required)
Request body
{
"publication_id": "uuid",
"unlike": false
}| Field | Type | Required | Description |
|---|---|---|---|
publication_id | uuid | Yes | From the comments list |
unlike | boolean | No | Default false (like). true to unlike. |
Returns 400 if the network does not support likes.
cURL
curl -X POST "https://api.social0.app/v1/inbox/comments/COMMENT_ID/like" \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "publication_id": "PUBLICATION_UUID" }'