Delete a comment
Deletes the comment from its network, as the account, with the replies under it, and from the thread: it no longer shows in Get a thread. When it is the thread's first comment (first), the thread goes too, and leaves every list and count. One already gone from the network counts as deleted, so a delete that failed can be asked again. 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. On Threads, 422 too for the profile's own reply until Meta approves Rizamo's access to deletes.
apiKeyAuthorizationBearer <token>An API key from the web app, under Developers. It starts with rz_live_.
id*stringThe thread's id (thr_).
length <= 100messageId*stringThe comment's message id (msg_), from Get a thread.
length <= 100OK
application/json- response
id*stringThe comment deleted.
threadDeleted*booleanTrue when it was the thread's first comment: the thread is gone from the inbox with it.
curl -X DELETE 'https://api.rizamo.com/v1/inbox/threads/thr_01m4bvs7w0fmf9g0mrdy7j6bc5/messages/msg_01m4e3wc00ecj9ez6jrr2c6eaj'{ "id": "msg_01m4e3wc00ecj9ez6jrr2c6eaj", "threadDeleted": false}Hide a comment PATCH
Hides the comment on its network, as the account, or shows it again (`hidden: false`), then records it on the message. The account's own comments are never hidden, and on Threads only first-level replies (`first`), which hide the replies under them too. 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.
Like a comment POST
Likes the comment as the Facebook Page, or takes the like back (`liked: false`), then records it on the message. Comments on Facebook 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.