Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 681 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 681 Bytes

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.