Twitter Unliker is a Python script that uses the Twitter API to unlike all tweets between a certain date range. This script is useful if you want to clean up your liked tweets and start fresh.
Python 3.x Tweepy library
-
Clone the repository:
git clone https://github.com/your-username/twitter-unliker.git cd twitter-unliker
-
Install the requirements:
pip install -r requirements.txt
-
Create a Twitter API application and obtain your API keys and access tokens. You can follow the instructions here to create a new application
-
Update the
config.ini
file with your API keys and access tokens:
[Twitter]
consumer_key = your_consumer_key
consumer_secret = your_consumer_secret
access_token = your_access_token
access_token_secret = your_access_token_secret
- Modify the
start_date
andend_date
variables inunliker.py
to your desired date range.
To run the script, simply run the unliker.py
file:
python unliker.py
The script will automatically unlike all tweets that were liked between the start_date
and end_date
specified in the unliker.py
file.
This script was created by Hussein ElGhoul. Special thanks to the Tweepy library for providing an easy-to-use Python wrapper for the Twitter API.
This project is licensed under the MIT License.