Skip to content

Latest commit

 

History

History
185 lines (135 loc) · 5.46 KB

README.md

File metadata and controls

185 lines (135 loc) · 5.46 KB

Contributors Forks Stargazers Issues MIT License


Logo

Twitter Bot

An awesome bot to jumpstart your trending tweets!
Explore the docs »

· Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Contact
  8. Acknowledgements

About The Project

This twitter bot is developed for following a specific person/user acouunt and retweet all the tweets of his/her timeline. Initial Purpose was the mass trending in twitter about Myanmar current situations. However, the project is not super user-friendly yet. I am looking for contributors who can make gui apps, improve code, make new features, fix known issues etc...

Built With

Getting Started

Prerequisites

  • Python 3.9
    sudo apt-get update
    sudo apt-get install python 3.9
    sudo apt-get install python3-pip

Installation

  1. Get a free twitter API Key at https://developer.twitter.com/en

  2. Clone the repo

    git clone https://github.com/waihankan/twitter-bot.git
  3. Install pip packages

    pip install -r requirements.txt
  4. Enter your API in config.py

    Make a config.py file if it doesn't exist

    api_key="your_api"
    api_secret="your_api_secret"
    access_token="your_access_token"
    token_secret="your_token_secret"

Usage

Here is how to use the code as of latest source code.

  1. Run the file main.py in the terminal.

  2. You have to fill in the twitter api if you use the code for the first time.You can take a look at the demo images provided below.

  3. Rerun the file main.py in the terminal.

  4. This time the twitter bot window will pop up.

    1. Add the user_id, which is @user_id in the twitter profile.
    2. Add the number of retweets you want to retweet from that user.
  5. Click Start! and check the process in terminal.

Demo Images

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

@Wai Han - [email protected]

Donate Me -> @Wai Han

Acknowledgements