Skip to content

Twitter-bot is a program that integrates with the Twitter platform, automatically posting, retweeting, liking, or following other users. Twitter-bot can prove to be useful through providing interesting information or updates, and they can also be fun or humorous.

License

Notifications You must be signed in to change notification settings

y-mehta/twitter-bot

Repository files navigation

twitter-bot

Twitter-bot is a program that integrates with the Twitter platform, automatically posting, retweeting, liking, or following other users. Twitter-bot can prove to be useful through providing interesting information or updates, and they can also be fun or humorous.

forthebadge

Dependencies

You will need to install Open Source Twitter API - Tweepy first :

pip install --upgrade pip

pip install tweepy

You will also need to create an app account on https://dev.twitter.com/apps

1. Sign in with your Twitter account
2. Create a new app account
3. Modify settings for that app to allow read & write
4. Generate a new OAuth token with those permissions
5. Edit config.py and put those tokens in the script

Now, You are all set. Fire up your terminal and execute following command :

python main.py

Functionality

  1. Auto Post on timeline from a pre-defined txt file.
  2. Auto Retweet through a user defined hashtag
  3. Follow users using a hashtag
  4. Like all posts using a hashtag

Disclaimer

I hold no liability for what you do with this script or what happens to you by using this script. Abusing this script can get you banned from Twitter, so make sure to read up on proper usage of the Twitter API.

About

Twitter-bot is a program that integrates with the Twitter platform, automatically posting, retweeting, liking, or following other users. Twitter-bot can prove to be useful through providing interesting information or updates, and they can also be fun or humorous.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages