- deploy server.js somewhere (i just used heroku)
- create an API yo account on http://developer.justyo.co/, set the callback URL to
http://<server url>/yo
- run client.js on your computer (make sure you've edited the socket.io URL)
- send yo's to your API account
this is very specific to my usecase: sending a photo of me from my webcam to a group chat i have with my friends on facebook. because facebook doesn't have a chat API for group chats, i use selenium to control a browser to upload stuff. it's ugly, but it works!