A twitter bot made by nodejs, using twitter api. this will post QOTD, hourly quotes and reply to @ mention with a random quotes
-
Create a twitter account and create a Twitter app
-
Clone the git
-
make
.env
file and copy.env.example
and add the relevant keys from twitter app setNODE_ENV = 'dev'
for developing andNODE_ENV = 'production'
for normal usage -
run
npm install
-
run
npm start
User can deploy this to heroku. Create Config Vars
for each in .env
file and deploy
- return relevent
botid
tweet count - example:
{"data":258}
- return a random quote
- example:
{"quote": "TEXT","author":"TEXT"}
- return a
HTTP Status 200 OK