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)
Okay, so here is my experience with this. I used it about a week or so ago, and my likes were still there but they did not have the red heart on them. This morning, however, all of my likes were deleted and I only have a handful or so. It takes a bit of time for the API to catch up I think, especially if you have a lot. I had the same issues as people above, although, mine did show up for me. Just could not manually unlike them. Thanks for providing this code, really appreciate it. Sites like tweetdeleter and semiephemeral did not work for likes.