- 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!
if you use this for your own craziness, you don't need any of the selenium/notifier stuff, just the socket.io stuff.
i used socket.io since it was super easy to set up, and very fast. it triggers pretty much instantly after the yo is sent, so that's cool. have fun!