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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -