This flow uses http nodes and web sockets nodes to serve up a simple web page with a chat application that colours messages depending on whether they are positive or negative according to the sentiment node.
Copy the flow, and import it from the clipboard using Node-RED on FRED.
Change the URL ws://fred.sensetecnic.com/public/guides/receive
and ws://fred.sensetecnic.com/public/guides/publish
, replacing guides
with your FRED user name.
Change the same URL to get it working on a 'stock' Node-RED install, or check it out on the Node-RED flows library - flows.nodered.org.