Create a Comment
This endpoint allows you to create a comment on an existing post
You can either comment on the post itself (it is called "top level comment") or comment on a comment (it is called "reply comment")
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 |
postId | The post ID you wish to comment on | yes | 15625364215_56994166514 |
body | The new body of the post. It can have plain text only and \n for line break Maximum 63,206 characters. | yes | Welcome to my edited Post! |
Response:
{
"status": "OK",
"postId": "15234562345623_952362434423178",
"timestamp": 1600115719,
"from": "463745743546345",
"reason": 1
}
Response-Explain:
Parameter | Description | ||||||||||||||||||||||
status | OK or FAIL | ||||||||||||||||||||||
postId | The post ID that you changed | ||||||||||||||||||||||
timestamp | Time stamp of the message | ||||||||||||||||||||||
from | Your ID for the service | ||||||||||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|