Twitter's user stream API is now deprecated, so this code does not work anymore!
This bot powers a twitter count account that tweets the direct messages it receives. The bot deletes every message after tweeting it. Messages will still appear for the sender, but the bot will not longer have it.
You must have Node.js and npm installed.
These steps are Mac OS X oriented, but they should be similar for other platforms.
npm install
(install dependencies)cp .env.example .env
(make a real .env)- Create a new "App" and copy your credentials into .env
source .env
(load the twitter credentials into your environment)node main.js -v
(let the tweets flow!)