Comments Reviews Javascript APIs
From Social ID Developers
(Difference between revisions)
Ramon.maciel (Talk | contribs) (Created page with "== APIs == === Basic === {| ! align="left" width="300px"| Resource ! align="left"| Description |- | socialid.comments.getStream | Return a Stream object. |} === Stream ==...") |
(add deprecation notice) |
||
Line 1: | Line 1: | ||
+ | <span style="color: red; font-weight: bold">Deprecation notice:</span> this API is deprecated since October 20, 2022. | ||
+ | |||
== APIs == | == APIs == | ||
=== Basic === | === Basic === |
Latest revision as of 16:24, 20 October 2022
Deprecation notice: this API is deprecated since October 20, 2022.
Contents |
APIs
Basic
Resource | Description |
---|---|
socialid.comments.getStream | Return a Stream object. |
Stream
Resource | Description |
---|---|
stream.getSettings | Returns the stream settings. |
stream.getPosts | Gets all posts from the stream. |
stream.createPost | Creates a post in the stream (sends it to moderation, if needed). |
stream.deletePost | Deletes a post from the stream. |
stream.renderRatingsReviewsWidget | Renders the RatingsReviews Widget in a DOM element. |
stream.renderCommentsWidget | Renders the Comments Widget. |
Template Cache
Event | Description |
---|---|
socialid.templateCache.get | Returns a HTML template. |
socialid.templateCache.put | Inserts or replaces a HTML template. |