An open API service indexing awesome lists of open source software.

https://github.com/kenmwaura1/twitter_unfollow

Using Tweepy and Pandas to unfollow accounts that don't tweet frequently
https://github.com/kenmwaura1/twitter_unfollow

Last synced: 7 months ago
JSON representation

Using Tweepy and Pandas to unfollow accounts that don't tweet frequently

Awesome Lists containing this project

README

          

# Twitter Unfollow Script
![-made%20with%20python-brightgreen?style=for-the-badge&logo=python](https://img.shields.io/badge/-made%20with%20python-brightgreen?style=for-the-badge&logo=python) ![PyPI - License](https://img.shields.io/pypi/l/py?style=plastic) ![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Ftwitter.com%2FKen_Mwaura1)

Utilizing tweepy to access your twitter account and check accounts that you follow and dont post frequently.

The script goes ahead to unfollow the accounts

You can adjust the frequency

###Installation
1. clone the Repo or download as zip
2. change into the directory ` cd twitter_unfollow`
3. Create a Virtual environment `python3 -m venv venv`
4. Activate the virtual environment `source venv/bin/activate`
5. Install dependencies `pip install -r requirements`
6. Sign up for a developer account on [Twitter](https://developer.twitter.com/)
7. Create an app an authorize read and write access
8. Copy the .env.example to .env `cp .env.example .env`
9. Enter your credentials as indicated. Remove the quotation marks(""")
10. Run the script `python twitter_unfollow.py`