v1Recursos/Social Inbox/postLike a comment

Like a comment

Likes a comment as the business's Page or account. It works only where the network allows it (Facebook and X comments); elsewhere it is refused with the reason, and the item's actions say so beforehand. Liking a liked comment answers success with changed false.

post/api/v1/inbox/{kind}/{id}/like
inbox:write
Parâmetros de consulta
kindstring (comment | message | mention)obrigatório
The kind of item: a comment, a direct message conversation or a mention.
idstringobrigatório
The item's id, from the inbox list.
Resposta
dataobjectopcional
okbooleanopcional
True when the request succeeded.
likedbooleanopcional
True after liking.
changedbooleanopcional
False when it was already liked.
Erros
400Falta um parâmetro obrigatório na solicitação, ou ela é inválida de outra forma.
401Chave de API ausente, inválida, expirada ou revogada.
403A chave não tem a permissão exigida, ou não está autorizada para este cliente/local.
404O recurso não foi encontrado, ou não pertence à sua agência.
429Muitas solicitações. Tente novamente após o número de segundos indicado no cabeçalho Retry-After.
post/api/v1/inbox/{kind}/{id}/like
Sua chave de API
kind *
id *
{}

Novo na API da Synup?