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

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -