Toggle comments
This endpoint allows you to enable or disable comments on an instagram post.
Settings:
URL | |
Method | JSON via POST |
Header | Your API key for the service |
Body:
Parameter | Description / Example | Mandatory | Example |
from | The ID you received for the connection | yes | 463745743546345 |
mediaId | The media ID you wish to do the action | yes | 15625364215_56994166514 |
enabled | 1 for allow comments 0 for disable comments | yes | 1 |
Response:
{
"status": "OK",
"mediaId": "15234562345623_952362434423178",
"enabled": true,
"from": "463745743546345",
"reason": 1
}
Response-Explain:
Parameter | Description | ||||||||||||||||||||
status | OK or FAIL | ||||||||||||||||||||
commentId | The comment ID that you deleted | ||||||||||||||||||||
timestamp | Time stamp of the message | ||||||||||||||||||||
from | Your ID for the service | ||||||||||||||||||||
like | true if the like was successful. false if there was an error to like | ||||||||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|