Skip to content

A collection of tools for maintaining commercial twitter accounts

Notifications You must be signed in to change notification settings

samjarman/twitter-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Bot

A collection of tools for maintaining commercial twitter accounts, built on top of the Twitter Gem

Installation

  1. Clone, run bundle install.
  2. Run cp .env.sample .env to make a copy of the environment variable files
  3. Populate .env with your keys from https://apps.twitter.com/

Use

Moderation Mode

This setting, when enabled, requires you to allow every action the script wants to take on your behalf. To enable, change the code at the top of twitter_bot.rb

MODERATION_MODE = true.freeze #toggle between true and false

Features

Adding users to lists based on search term

By calling add_users_to_list you can provide a slug for a list (already created on your account) and a serch term (listed here)

add_users_to_list(client, 'dog-lovers', '"love dogs" :)')

Favouriting tweets based on search term

This will favourite tweets that match the search terms.

fave_tweets(client, '"love dogs" :)')

Roadmap

There are a few items I'd like to add to this tool!

  • Caching of actions to avoid duplicate API calls and not hit limit sooner
  • Following based on search terms
  • Follow/Unfollower management tools ... Feel free to send a PR!

About

A collection of tools for maintaining commercial twitter accounts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages