SolidOpinion JavaScript API

We provide this method for inserting the message "putMessage" through the SolidOpinion public JavaScript API.

It's a sort of a "bridge" between the site page and our widget:

Description: Perform an adding text in message field through the SolidOpinion widget API. You can call it from console of browser, should be top frame
Settings Type: PlainObject A set of key/value pairs that configure where and how add message, text key required.
Settings Keys:
text - set what text must be added
type - set behavior of text adding

$SO.putMessage({text:"Some cool message"});

If you use such widget as "Promoted Comments" it is possible to use the "bid" type.

$SO.putMessage({text:"I must be on top", type:"bid"});

Happy commenting!

Feedback and Knowledge Base