Inbox

Like or unlike a comment

Changed on

Likes (or removes the like from) a comment someone left on one of your posts, as the connected account: the Facebook Page, the LinkedIn Page or the TikTok account. Incoming Facebook, LinkedIn Page and TikTok comments. Facebook allows a Like only: no app can add Love or another reaction. Liking a comment that is already liked (or unliking one that is not) succeeds and changes nothing. liked on the returned message shows the new state. A like does not mark the comment as read or answered. The account must have been connected with the comment permission (Facebook pages_manage_engagement); 403 reconnect_required otherwise. Requires the inbox:write scope (API keys) or the access_social_inbox permission (OAuth/MCP).

post/inbox/messages/{id}/like

Request

  • Base URL
    https://api.omnisocials.com/v1
  • URL
    https://api.omnisocials.com/v1/inbox/messages/{id}/like
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:88231

The inbox message id (from the conversation messages list).

Request body

likeboolean

true to like, false to remove the like

Response

Comment liked or unliked

Example response

{
  "data": {
    "id": "88231",
    "conversation_id": "instagram_comment_17912345678901234",
    "platform": "instagram",
    "type": "comment",
    "text": "What size is this?",
    "timestamp": "2026-10-21T09:00:00.000Z",
    "attachment": {
      "url": "https://example.com/photo.jpg"
    },
    "sender": {
      "name": "Jamie Rivera",
      "username": "jamierivera",
      "profile_picture": "https://example.com/avatar.jpg"
    },
    "post": {
      "id": "17912345678901234",
      "caption": "Our autumn menu is here. #autumnmenu",
      "thumbnail": "https://example.com/photo.jpg",
      "url": "https://www.instagram.com/p/Cxyz123ABC/",
      "media_type": "IMAGE"
    }
  }
}

Changes