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) {}
}
Remote: Yes
Willing to relocate: No
Technologies: Typescript, React, Svelte, Deno, Rust, Node, NextJS, TailwindCSS
Résumé/CV: https://morado.dev
Email: roramigator@duck.com