It took over 3 hours to delete 2,897 tweets and 787 retweets, it did nothing for the likes, I got rid of 347 likes in about 1 minute with the following code, I noticed it was "unliking" one by one every 10 seconds, which would've taken considerably longer, I avoided this by commenting the return after the console.log.
// UNDER THE 'LIKES' TAB const articles = document.getElementsByTagName("article"); for (article of articles) { article.scrollIntoView(); try { const unlike = article.querySelector('[data-testid="unlike"]'); if (unlike) { unlike.click(); console.log("Ok!"); // return; } } catch (e) {} }