post_comment
This endpoint is used to submit comments to any post.
Resource URL
http://localhost/api/userplus/post_comment/
Method
POST
Required Parameters
- cookie
- post_id
- content
- comment_status
- key – get API key from Settings > User Plus
Optional Parameters
- comment_type: Default 'comment'
- comment_parent: ID of this comment's parent, if any. Default 0
Sample Request URL
http://localhost/api/userplus/post_comment/?key=KEY-HERE&cookie=COOKIE-HERE&post_id=ID&content=Comment contents here&comment_status=1
Hello, how to pass the comment’s parent id?
comment_parent: ID of this comment’s parent,