Socket.io Example
-
Hey all,
We haven't gotten around to making a proper HTTP request or Socket.io tutorial yet, but maybe these projects can be a good start to see how it works.
HTTP:
https://www.dropbox.com/s/wpfnhiecfmrfh8d/HTTP Request Tests.tap?dl=0Sockets:
https://www.dropbox.com/s/qqn0ykzo0ufrdy7/Chat App.tap?dl=0 -
This is the server for the chat example
-
@Hamed wait, you can get servers with GitHub?
-
No, the code for the server is on github. You still need to deploy it yourself. If you press that heroku button on that page, it will pretty much deploy it for you.
-
@Hamed oh Ok!
-
@Hamed the chat app isn't getting the messages I send. It stays blank.
Also, with authentication test, I don't have to authenticate for the friends list to show up. -
@iTap-Development its because its pointing at localhost:8000. Point it at a public server and it should work