Inbox

Like a comment

Likes the comment as the Facebook or LinkedIn Page, or takes the like back (liked: false), then records it on the message. Comments on Facebook or LinkedIn Pages only, by others than the Page. Errors: 400, before any call, when it is not a comment (a message) or its network does not allow it for this comment, with why (moderationProblem); 422 capability_missing when the account's login does not allow managing comments (on Threads, until Meta approves Rizamo's access to replies); 409 when the account needs a new login or is not active, the reply is still sending, or the network refused, with its reason; 404 for a thread or comment the caller does not reach.

post/inbox/threads/{id}/messages/{messageId}/like

Request

  • Base URL
    https://api.rizamo.com/v1
  • Auth
    HTTP bearer

Path parameters

idstring required

The thread's id (thr_).

messageIdstring required

The comment's message id (msg_), from Get a thread.

Headers

Idempotency-Keystring

1 to 255 printable characters, new for each request (a UUID); the body up to 1 MB. For 24 hours a repeat with the same key, path and body gets the first answer, with Idempotent-Replayed: true, instead of running again; 5xx, 409 and 429 answers are not kept. Errors, Retries, has the rest.

Request body

likedboolean

True likes it (the default), false takes the like back.

Response

OK

idstring required
threadIdstring required
direction'in' | 'out' required
textstring required

Empty when the network does not share it, as Instagram does not for GIF and sticker comments, or when the message is only an attachment.

atstring date-time required
delivery'sending' | 'sent' | 'failed' nullable required

Where a reply stands. sending: on its way (a Threads, LinkedIn or YouTube reply goes out in the background, within seconds to a minute; read the thread again to follow it). sent: on the network. failed: not sent, with why in deliveryError; reply again with retryOf set to its id to try it once more, which never sends it twice. Null for messages received.

deliveryErrorstring nullable required

Why the reply was not sent, in plain words, when delivery is failed.

hiddenboolean required

Comments: hidden on the network, from Rizamo (Hide a comment) or the network's own app, as Rizamo last read it. Others no longer see it; the person who wrote it may. Always false for messages.

likedboolean nullable required

Facebook comments (and LinkedIn Pages'): whether the Page likes it (Like a comment). Null elsewhere, where Rizamo does not like comments.

firstboolean required

Comments: the thread's first comment, which started it. Deleting it deletes the thread, and it is the only one Threads hides (with the replies under it). False for the replies, and for every message; false for all of a thread whose first comment Rizamo never read.

Changes

No recorded changes to this operation across all 1 revision of this API.