comments
This endpoint will fetch comments. Pagination of comments is also available.
Resource URL
http://localhost/api/userplus/comments/
Method
POST
Required Parameters
- post_id
- key – get API key from Settings > User Plus
Optional Parameters
- per_page – number of comments per page. Default is 10
- page – page number for pagination based on per_page number. Default is 1
- sort – order of comments. Possible values ‘ASC’, ‘DESC’. Default is ‘DESC’.
Sample Request URL
http://localhost/api/userplus/comments/?key=KEY-HERE&post_id=1