Remove All Likes On Twitter Using Google Chrome
Script to Unlike Tweets On Twitter
Here is a simple javascript snippet that will unlike your liked tweets:
javascript: var tweetsUnliked = 0;
for (let i = 0; i < 100; i++) {
var unlikeButton = $("div[data-testid='unlike']");
window.scrollBy(0, 10000);
if (unlikeButton === null) {
console.log(
"The next liked tweet was not found, please scroll down and run the script again."
);
} else {
console.log("Found Tweet to Unlike");
}
unlikeButton.click();
tweetsUnliked++;
console.log(`Unliked Tweets: ${tweetsUnliked}`);
window.scrollBy(0, 10000);
window.scrollBy(0, 10000);
window.scrollBy(0, 10000);
window.scrollBy(0, 10000);
}
View the Snippet: Javascript Github Gist for Unliking Tweets in Google Chrome
Simply navigate to your liked tweets page https://twitter.com/YourTwitterHandle/likes, hit F12 in Google Chrome in Developer tools and paste the script into the console.
Hit Enter to run the script, you will see your likes going down!
Rate Limiting - 429 Errors
After about roughly ~1000 unlikes you will hit a rate limit, this will represent itself as a 429 error on the console.
If you wait about 15-30 minutes you can unlike another ~1000 tweets.