Very very nice the video and the code. I will use it like a good example for a my game project. Thanks 🤙
@tylerpetrov8094 Жыл бұрын
Thanks for the vid! Definitely just what I needed to get up and running!
@T3rr4T3rr0r9 ай бұрын
Thanks for clutching my school project
@gh0stth3k1d9 ай бұрын
im working on one too XD
@markogrdinic51269 ай бұрын
At 21:57, instead of using the username as the key for the dictionary, it would have been better to swap the two and use the sid instead. Then you wouldn't need to loop over the dictionary and instead could directly index into it using the sid to get the user data.
@annedou75677 ай бұрын
Thanks for the amazing video
@cloudit4985 Жыл бұрын
This is awesome! Great video
@abhishekkandari7116 Жыл бұрын
Thank you for the tutorial.. will try this
@WaldoTheWombat Жыл бұрын
Hi Anthony, do you also have a video where you deploy a flask app that uses web sockets? because I just finished deploying my app watching a deployment tutorial by Tech with Tim, but it seems that the sockets don't work there: 'Cannot obtain socket from WSGI environment.'
@prototypebharrat10 ай бұрын
Yaa same problem.my app work in development environment but not in deployment
@WaldoTheWombat6 ай бұрын
@@prototypebharrat were you able to solve it?
@alexzakr Жыл бұрын
It's so cool!
@LoVe-iu9rd Жыл бұрын
How did you deployed it to production?
@robbedeboosere589 Жыл бұрын
does anyone have instructions for this?
@asokwkwke6 ай бұрын
@@robbedeboosere589 I struggled with deploying for 3 days , then I could successfully deploy my app to heroku! Should I make a video about it?
@WaldoTheWombat6 ай бұрын
were you able do deploy it?
@itwasnoteasy8 ай бұрын
Thanks for making the video. Have you deployed flask-socketio over ssl with wss etc on aws or any other cloud instance in a production like environment?
@WaldoTheWombat6 ай бұрын
hello, were you able to deploy it?
@itwasnoteasy6 ай бұрын
Yes, I switched to using flask socketio for my project purposes.
@WaldoTheWombat6 ай бұрын
@@itwasnoteasy what do you mean you switced to flask socket-io? That's flask socket-io is what's shown here
@itwasnoteasy6 ай бұрын
@WaldoTheWombat - that’s right I was trying to use flask-sock earlier and switched to flask-socketio. Then I installed gevent or eventlet to start the server. It worked fine over https. I don’t recollect the exact steps but it just worked fine. Part of the problem was to figure the exact command line for gunicorn and gevent/eventlet combination.
@WaldoTheWombat6 ай бұрын
@@itwasnoteasy Could you *please* tell me how to do it?? I've watched both Tech With Tim's and Corey Schafer's tutorials on how to deploy Flask apps, but it doesn't work for web sockets. I get: 'Cannot obtain socket from WSGI environment.' I have no idea how to solve this and non of these tutorials really explain what how all these server programs work.
@Franklin0963 ай бұрын
Python version?
@LoVe-iu9rd Жыл бұрын
How about pushing notifications to this message as well rooms sessions, please make a video.
@morshedulislamriaad6496 Жыл бұрын
ThankYou
@amanavakn205 Жыл бұрын
I am getting a 400 (Bad Request) error when trying to connect with the postman. Any idea what is going wrong? BTW video is very informative.
@geovannis.a8687 Жыл бұрын
Thanks for the Video. Do you know a way to create a multi-chat on the same page? Or do you know a web tool to do that?. Is only a cultural question.. haha
@cauefernandes57062 ай бұрын
I downloaded the source code, but it doesn't work anymore.
@jenshauser6351 Жыл бұрын
haven't you allready uploaded that topic a while ago ? 🙂gonna check it :D
@prettyprinted Жыл бұрын
Yeah I did about 6 years ago. I wanted to make an updated video.
@soydara Жыл бұрын
How to do with django rest framework?
@prettyprinted Жыл бұрын
How would you use sockets in an API app?
@learnmore5438 Жыл бұрын
does anyone knows how to deploy this on live production server?
@prettyprinted Жыл бұрын
You'll have the easiest time by deploying to your own server instead of using a service. Look into something like Lightsail or Digital Ocean droplets.
@learnmore5438 Жыл бұрын
@@prettyprinted thank you, i just deployed it btw.
@WaldoTheWombat Жыл бұрын
@@learnmore5438 can you please tell me ho you did it? I just finished deploying my app watching a deployment tutorial by Tech with Tim, but it seems that the sockets don't work there: 'Cannot obtain socket from WSGI environment.'
@WaldoTheWombat6 ай бұрын
@@learnmore5438 Hi, you can please tell me how you managed to deploy it??I tried 2 different tutorial videos, but I always get problems with the sockets
@famisalpedo11 ай бұрын
how to add videocall
@chks_charles Жыл бұрын
Tell me where i am wrong: 1) useless setting autoconncet to false, your explonation contradicts the idea of ws. after handshake you can pass this name same way - and even you said it when moved to messages. this is useless in this aplicaion? for instance: var socket = io(); socket.on('connect', function() { socket.emit('name', {data: 'Donald Duck'}); }); whats the point of disabling autoConnection here? btw -code above is right from documentation.... 2) why dont you use rooms? sending message to server to emit it back to other users - why? You connect users give them room, and they emit to the room.... this contradicts one of advantages of socketIO as layer on websocet - handling many clinets via rooms... peace
@codedjango Жыл бұрын
With django?
@prettyprinted Жыл бұрын
I'll consider making something similar in Django.
@codedjango Жыл бұрын
Thank you 👍
@Kennethlumor Жыл бұрын
Please I'm pleading you to make a video on how to connect Google Oath to flask login, that will make users registered with the Google account before signing in
@en_coded Жыл бұрын
why is it not realistic to place in one file?
@Kennethlumor Жыл бұрын
Sir please and please I just wanted to remind you again about my request on this