Add Post Dislike
Add a dislike to a specific social media post. Specify the brand_id
, connected_profile_id
(from social-connect
), and post_id
(from get-published-posts
or get-post-details
). Supported platforms: Facebook, YouTube, LinkedIn (pages only). Response confirms successful dislike addition with no data. Note: Instagram is not supported.
- Method: POST
- Endpoint:
/api/api-services/v1/brand-service/add-post-dislike
- Returns: Confirmation of successful post dislike addition
Add Post Dislike
POST https://app.brand2social.com/api/api-services/v1/brand-service/add-post-dislike
Field | Type | Required | Description |
---|---|---|---|
Authorization | string (header) | Yes | Bearer token for authentication (requires ORG_ADMIN permission) |
brand_id | int64 | Yes | ID of the brand |
connected_profile_id | int64 | Yes | ID of the connected social media profile (from social-connect ) |
post_id | string | Yes | ID of the post (from get-published-posts or get-post-details ) |
curl --location 'https://app.brand2social.com/api/api-services/v1/brand-service/add-post-dislike' \
--header 'Authorization: Bearer B2S_dummyToken' \
--header 'Content-Type: application/json' \
--data-raw '{
"brand_id": 123,
"connected_profile_id": 98765,
"post_id": "post_001"
}'
Response
{
"status": "SUCCESS",
"http_code": 200,
"message": "Post disliked successfully",
"data": null
}
Error Response
{
"status": "FAILURE",
"http_code": 400,
"message": "post_id is required",
"data": ""
}