Like a Comment
This endpoint allows you to like or unlike a comment in a post
Settings:
URL | |
Method | JSON via POST |
Body:
Parameter | Description / Example | Mandatory | Example |
apiKey | Your API key for the service | yes | 4124-634t462-634733463-5734346 |
from | The ID you received for the connection | yes | 463745743546345 |
commentId | The comment ID you wish to like | yes | 15625364215_56994166514 |
like | 1 for like 0 for unlike | yes | 1 |
Response:
{
"status": "OK",
"commentId": "15234562345623_952362434423178",
"timestamp": 1700115719,
"from": "463745743546345",
"reason": 1,
"like": true
}
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
|