Max Burstein
Max Burstein
Seeing this with the fa-twitter icon in my app. Let me know if there is anything I can do to help debug
Broadcast emit shouldn't be sending the event to the user who created it http://socket.io/docs/#broadcasting-messages What version of socket.io and gevent-socket-io are you using?
Ok I think I understand the issue you're having. The message is coming from the redis pubsub channel in the case of this tutorial rather than a client side socket...
You definitely can. As you can see in this example https://github.com/Automattic/socket.io/blob/master/examples/chat/index.js the backend is storing a list of usernames. You could easily store a list of sockets and then iterate...
Does the server start up or do you see an error? I'd also recommend checking out https://github.com/mburst/gevent-socketio-starterkit While it is also a bit dated, and doesn't have a complete tutorial...
The code is pretty outdated so there could be a possible issue. I'd recommend deleting your node_modules folder inside django-realtime-tutorial/nodejs and then re-running npm install. Then from the nodejs directory...
Unfortunately this code is pretty old and quite out of date. Thus, I'm not able to support it as much as I'd like to. I'd recommend looking in to Django...
Thanks for this! Will review when I have some free time
Looks like oauth2 hasn't been used in awhile. I'm going to look in to seeing if the underlying social auth library really needs it. I don't think that it does....