twitter-drone

by redaxmedia

GitHub Readme.md

Twitter Drone

Dead simple bot to automate retweet, favorite and follow on Twitter.

Build Status NPM Version License Deploy Heroku

Preview

Terminal Session

Installation

npm install twitter-drone

Setup

Create a .env file to define your environment variables:

TWITTER_CONSUMER_KEY=
TWITTER_CONSUMER_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=
TWITTER_TIMEOUT_MS=

Usage

bin/twitter-drone [command] [options]

retweet
favorite
follow

-V, --version
-Q, --search-query <search-query>
-T, --search-type <search-type>
-L, --search-lang <search-lang>
-S, --search-count <search-count>
-R, --retweet-count <retweet-count>
-F, --favorite-count <favorite-count>
-I, --background-interval <background-interval>
-B, --background-run
-D, --dry-run
-h, --help

Examples

Retweet popular CSS tweets:

bin/twitter-drone retweet --search-query=css --search-type=popular

Favorite recent PHP tweets with at least 10 reweets:

bin/twitter-drone favorite --search-query=php --retweet-count=10

Follow users of popular HTML tweets:

bin/twitter-drone follow --search-query=html --search-type=popular

Deployment

Trigger Deploy to Heroku and fill out the form.