ni-0iw
Last Updated: February 25, 2016
·
119
· dgolubets
0 0 ci4pv0f3tapv28ja q4rcgiinupvg8jznn4axfp58yuyehpqtfnlk3daqprjyuoa8zcnvze8bt

Simple chat with ChatFarm

If you're looking for a simple chat widget for you site or want to create your own, I recommend you to take a look at http://www.chatfarm.net.

It's a cloud service, that I've been developing for the last year. It provides 3 layers of integration:

  • simple widget
  • JavaScript API for deeper integration
  • open protocol based on WebSockets

Here's an example of how you can create the widget:

<script src="http://sdk.chatfarm.net/v0/sdk.js"></script>
<div id="chat" style="width: 400px; height: 300px;"></div>
<script type="text/javascript">
   chatfarm.init(["widget"], function (widget) {
       new widget.Chat({
           container: "#chat",
           title: "Getting Started Chat",
           app: "<your application id>",
           channel: "<you channel id>",
           mode: "guest"
       });
   });
</script>

The service is in beta stage and I will appreciate a feedback and will be glad to provide support for users.

Say Thanks
Respond