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 |
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 do the action on | yes | 652346734563_3463234623 |
hide | 1 - hide 0 - unhide | yes | 1 |
* You need to provide either the postId or the commentId, not both. if both will be provided, the system will use the commentId (reply comment)
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
|