My Account | Buy CometChat

documentation

Using PusherApp

You need to purchase the Pusher transport before proceeding with the steps below. To purchase, please create a support ticket.

Obtaining the keys

Visit http://www.pusher.com and register on the site. Create a new app and get the relevant keys.

Adding the keys

  1. Upload the pusher folder to the cometchat/transports folder
  2. Edit cometchat/transports/pusher/config.php
  3. Edit cometchat/config.php and find COMET.

Modify the code to the following:

define('USE_COMET','1');
define('COMET_HISTORY_LIMIT','100');
define('KEY_A','RANDOMSTRING1');
define('KEY_B','RANDOMSTRING2');
define('KEY_C','RANDOMSTRING3');
define('SAVE_LOGS','0');

/* COMET END */

define('TRANSPORT','pusher');