javascript - Getting crossDomain after login section -
im doing crossdomain request trought node.js server website requires login messages.
every thing did try couldn't in message section statis html
request.post("http://webchat.chatbelgie.be/", { autoconnect: 1, channel: "chat.be", nick: "polar" }, function(err, data){ console.log(data) })
that looks irc chat.
you might more lucky try , use irc protocol directly, of irc
package
var irc = require('irc'); var client = new irc.client('irc.chatbelgie.be', 'yournick', { channels: ['#games'], }); client.addlistener('message', function (from, to, message) { console.log(from + ' => ' + + ': ' + message); });
Comments
Post a Comment