Skip to content

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

Notifications You must be signed in to change notification settings

tonyynot/random-image-tweet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published