Comments Reviews Javascript APIs

From Social ID Developers
Jump to: navigation, search

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.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox