Private reply to a visitor
This endpoint allowed you to send a messenger private reply to a user that left a comment on your post.
You are allowed to send one time private reply to a person who wrote a public comment. you can only send one private reply per comment, within 7 days when it was written.
If the user answers you can keep chatting with him (if you connected facebook messenger api too). this private reply does not need a facebook messenger to work.
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 that was posted in your post, of which you wish to send the private reply to the visitor | yes | 652346734563_3463234623 |
body | The private message (DM) you want to send to the visitor that wrote the comment 2000 characters maximum | yes | Thank you for the comment! here is our special deals |
Response:
{
"status": "OK",
"target": "15234562345623_425235245346"
"from": "463745743546345",
"messageId":
"body":
"reason": 1
}
Response-Explain:
Parameter | Description | ||||||||||||||||||||||||||
status | OK or FAIL | ||||||||||||||||||||||||||
target | The original postId or commentId provided in the request | ||||||||||||||||||||||||||
commentId | The new commentId created. you can use this for reply to a comment | ||||||||||||||||||||||||||
timestamp | Time stamp of the message | ||||||||||||||||||||||||||
from | Your ID for the service | ||||||||||||||||||||||||||
body | The comment you wrote | ||||||||||||||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|