Secret Service Backup Forums


You are not connected. Please login or register

 
 

utghurgu

Message (Page 1 of 1)

avatar
 
Administrator
Administrator

Posted on Sat Aug 23, 2014 2:02 pm

 
Code:
var PlugAPI = require('plugapi'),
    AUTH = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx=?_expires=xxxxxxxxxxxxxxxxxx==&user_id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=', // Put your auth token here, it's the cookie value for usr
    ROOM = '';

var bot = new PlugAPI(AUTH);
bot.connect(ROOM);

bot.on('roomJoin', function(room) {
    console.log("Joined " + room);
});



- Forum Development and Applications -
- Coming Soon -



A better professional beginning - a better end


View user profile http://www.officials.forumotion.com


Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum


  • Total Posts:
  • Total Members:
  • Newest Member:
  • Most Online: Most users ever online was 54 on Sat Oct 05, 2013 1:33 pm