Comments
phpThreaded comments with likes on any page. One row per reaction, so a like cannot be lost to a race.
How to use it
No usage notes have been written for this API yet. The dashboard for it
shows the request shape it expects.
Endpoints
Every reply has the same shape: success, code, message, data and request_id. Branch on code, never on message.
GET
/apis/myapis/comments.php?action=listPublishable key, safe in a pageComments and reaction counts for one item.
Requires:
ref (query)POST
/apis/myapis/comments.php?action=createCallable from a page, or with the secretPost a comment as the signed-in visitor.
Requires:
ref (body)</code>, <code>body (body)POST
/apis/myapis/comments.php?action=reactCallable from a page, or with the secretLike or dislike an item or a comment.
Requires:
kind (body)</code>, <code>key (body)</code>, <code>value (body)Facts
| Slug | comments |
|---|---|
| Installed on | 0 site(s) |
| Status | published |
| In the 2015 catalogue | yes, as api id 8 |
Install on your sites
Sign in as a developer to install this on a site you own.