This script is designed to automate the process of unfavoriting tweets on X.com (formerly Twitter). It fetches the list of liked tweets for a user and removes the likes in batches, handling pagination and rate limits.
- Access the Likes tab on X.com, e.g.,
https://x.com/xxxxxxxx/likes
, replacingxxxxxxxx
with your username. - Open your browser's developer tools (usually by pressing
F12
orCtrl+Shift+I
).