Comments Reviews Javascript APIs
From Social ID Developers
Revision as of 18:50, 3 June 2016 by Ramon.maciel (Talk | contribs)
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. |