Brand2Social API Documentation

Comprehensive guide to Brand2Social API endpoints

Add Comment Dislike

Add a dislike to a specific comment or nested comment on a social media post. Specify the brand_id, connected_profile_id (from social-connect), post_id (from get-published-posts or get-post-details), and comment_id (from get-post-details, get-next-comments, or get-next-nested-comments). Supported platforms: Facebook, LinkedIn (pages only). Response confirms successful dislike addition with no data. Note: Instagram and YouTube are not supported.

  • Method: POST
  • Endpoint: /api/api-services/v1/brand-service/add-comment-dislike
  • Returns: Confirmation of successful comment dislike addition

Add Comment Dislike

POST https://app.brand2social.com/api/api-services/v1/brand-service/add-comment-dislike

FieldTypeRequiredDescription
Authorizationstring (header)YesBearer token for authentication (requires ORG_ADMIN permission)
brand_idint64YesID of the brand
connected_profile_idint64YesID of the connected social media profile (from social-connect)
post_idstringYesID of the post (from get-published-posts or get-post-details)
comment_idstringYesID of the comment or nested comment (from get-post-details, get-next-comments, or get-next-nested-comments)
    
    
curl --location 'https://app.brand2social.com/api/api-services/v1/brand-service/add-comment-dislike' \
  --header 'Authorization: Bearer B2S_dummyToken' \
  --header 'Content-Type: application/json' \
  --data-raw '{
    "brand_id": 123,
    "connected_profile_id": 98765,
    "post_id": "post_001",
    "comment_id": "comment_002"
}'
    
  

Response

{
  "status": "SUCCESS",
  "http_code": 200,
  "message": "Comment disliked successfully",
  "data": null
}

Error Response

{
  "status": "FAILURE",
  "http_code": 400,
  "message": "comment_id is required",
  "data": ""
}