- Login to your Twitter web account.
- Go to your likes tab in your profile
- Press F12 (in Chrome and Firefox) and in the Console tab, paste the following code:
// Creates a timer that runs every second...
setInterval(function(){
// Scroll down by 600px
window.scrollBy(0, 600);
// Clicks on every div that matches following css query. Twitter might change this
// after some time so you can easily update it accordingly.
document.querySelectorAll('div[data-testid="unlike"]').forEach(x => x.click());
}, 1000);
Give it enough time and this will automatically clear all of your likes.
thanks bro