GithubHelp home page GithubHelp logo

luisramirez-m / twitter-follow-and-unfollow-bot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yousefissa/twitter-follow-and-unfollow-bot

1.0 1.0 1.0 41 KB

A bot that allows you to follow and unfollow users on twitter. Also allows you to do many other things.

Python 100.00%

twitter-follow-and-unfollow-bot's Introduction

Python Twitter Bot

This is a twitter bot that allows you to do automate a variety of twitter tasks!

  1. Follow back users that follow you.
  2. Follow the followers of another user.
  3. Follow users based on a keyword.
  4. Follow users who retweeted a tweet.
  5. Unfollow users that don't follow you back.
  6. Unfollow all users.
  7. Favorite tweets based on a keyword.
  8. Send a DM to users that follow you.
  9. Get follower and following count.

Prerequisites

You will need tweepy, re and time installed. Simply run the corresponding pip command like:

pip install tweepy

Additionally, you will need to set up your config.json file.

Setting up config.json file

This file is the heart of the bot. You must place your twitter auth info in the auth object. I've labeled what you have to put and where to the best of my abilities.

Note: Make sure to clear all of the other fields if you do not want to follow based on keyword, whitelist, DM, etc! If you do, simply place your words in the corresponding list seperated by quotations and commas like what I have in the file right now.

Todo:

  • Add the ability to unfavorite all tweets.
  • Add a GUI.

Authors

License

This project is licensed under the MIT License.

Acknowledgments/Other

  • Feel free to make edits or to comment on my code so that I can improve!
  • Thanks for reading!

twitter-follow-and-unfollow-bot's People

Contributors

luisramirezdev avatar tomasantunes avatar yousefissa avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

arcanoix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.