Hide a Comment
Hide a comment allows you to make a comment to be hidden (or back to be visible) from the public, only staying visible to the writer of comment, their friends and the admin of the page.
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 |
commentId | The comment ID you wish to do the action on | yes | 652346734563_3463234623 |
hide | 1 - hide 0 - unhide | yes | 1 |
Response:
{
"status": "OK",
"commentId": "15234562345623_952362434423178",
"from": "463745743546345",
"hidden": true
"reason": 1
}
Response-Explain:
Parameter | Description | ||||||||||||||||||
status | OK or FAIL | ||||||||||||||||||
commentId | The new commentId created. you can use this for reply to a comment | ||||||||||||||||||
from | Your ID for the service | ||||||||||||||||||
hidden | true if the comment was hidden false if the comment is not hidden | ||||||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|