Skip to content

Files

Latest commit

203fb94 · Jan 4, 2015

History

History
25 lines (17 loc) · 924 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 924 Bytes

TwitterBot

Twitter bot for aggregating public sentiment on miami transit. This bot utilizes Node.js. Currently it is only looking at Taxis but this will eventually be extended to busses, rail, etc.

Running the bot

To run the bot you must have Node installed on your machine. You can find download links here.

The bot requires node has express, socket.io, and twit

These can be installed by opening a console and running:

npm install

The bot requires credentials which it looks for in the same directory under the name "config1.js". Please email me at [email protected] if you need this file. Due to it containing the bot's credentials for API access it will not be hosted on Git.

For running the server side code you need only open a console in the bot folder and run:

node mdtbot.js

To run the client code in the client folder open index.html