Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
- Go to: https://twitter.com/{username}/likes
- Open the console and run the following JavaScript code:
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
window.scrollTo(0, document.body.scrollHeight)
}, 1000)
Working very well. Thank you, glad I searched first!
Takes a while, set interval a lot longer to stop twitters rate limiter.
Even 10sec still hit the rate limiter, but this was a new account so only had 10k likes.
Take note of the "[HTTP/2 429 Too Many Requests 208ms]".
If you want to run it overnight, may need to add delay per click instead.
Thank you very much