šŸ¶ Automated twitter client that posts images of a floof on Twitter every 30 minutes.
Branch: master
Clone or download
Latest commit 087b9da Sep 16, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
node_modules working version Sep 15, 2017
.gitignore working version Sep 15, 2017
LICENSE.md
Procfile web = 0 Sep 15, 2017
README.md
bot.js changing interval back to 30 minutes for the last time Sep 15, 2017
config.js
package.json Update license field to MIT Sep 16, 2017

README.md

License: MIT License: MIT

flooferbot

alt text

An automated Twitter client that tweets floof pictures every 30 minutes. Visit him over here. He's a good boy. Hosted on Heroku.

Built With

  • Node.js - because Node boys
    • Twit - Twitter API client for Node
    • request - HTTP module for Node
  • Dog API - API from Dog CEO to access images from Stanford's Dog Dataset.

Usage

Clone the repository to your computer.

git clone https://github.com/ptumb001/flooferbot.git 

The version of config.js that you clone contains empty data fields.

module.exports = {
  consumer_key: '',
  consumer_secret: '',
  access_token: '-',
  access_token_secret: ''
}

You can find these values by obtaining an API key from Twitter. Create a Twitter account for your bot, then go to apps.twitter.com and create a new app. You'll be able to find all the values in the application settings.

Once you've written your changes to config.js, you can run the bot in the terminal with Node.js.

node bot.js