Node.js bot that posts random photos from a local directory to twitter
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
config.js
package.json
tweet.js

README.md

random-image-tweet

Node.js bot that posts random photos from a local directory to twitter

Demo

http://twitter.com/blank_waves

Installation

Please fork and clone this repository.

  • Input your Twitter API keys into config.js
  • Preferred image path should be defined in tweet.js before running
  • Run the following commands in terminal:
$ git clone https://github.com/tonyynot/random-image-tweet.git
$ cd random-image-tweet
$ npm install
$ node tweet.js

Future changes

  • Run bot from heroku while pulling images from a server using an ftp module

Recent updates

  • Version 1.2.0 uses more effective array sorting and randomizing with the array-shuffle module.