Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Recipe] Delete all your likes/favorites from Twitter

Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.

  1. Go to: https://twitter.com/{username}/likes
  2. 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)
@MaGpeA

This comment has been minimized.

Copy link

@MaGpeA MaGpeA commented Sep 22, 2019

Excelent, it worked!

@Noahhhhhr

This comment has been minimized.

Copy link

@Noahhhhhr Noahhhhhr commented Sep 24, 2019

It works! Thank u.

@belous

This comment has been minimized.

Copy link

@belous belous commented Oct 5, 2019

Nice 👍

@conchordspannerman

This comment has been minimized.

Copy link

@conchordspannerman conchordspannerman commented Oct 7, 2019

Works brilliantly, thanks so much 👍🏻

@MikaCaldera

This comment has been minimized.

Copy link

@MikaCaldera MikaCaldera commented Oct 24, 2019

I appreciate this! Great solution for deleting past twitter likes. Gracias!

@leoebfolsom

This comment has been minimized.

Copy link

@leoebfolsom leoebfolsom commented Oct 28, 2019

I would like this, but I might regret it later, so I'll just say: thanks! Worked like magic!

@bartier

This comment has been minimized.

Copy link

@bartier bartier commented Oct 31, 2019

Thanks. It works nicely =)

@HashRaygoza

This comment has been minimized.

Copy link

@HashRaygoza HashRaygoza commented Nov 4, 2019

Works like a charm :D!

@lccezinha

This comment has been minimized.

Copy link

@lccezinha lccezinha commented Nov 14, 2019

Excellent! It works weel! 🚀

@joshamore

This comment has been minimized.

Copy link

@joshamore joshamore commented Dec 4, 2019

Awesome works as described!

@Ange92

This comment has been minimized.

Copy link

@Ange92 Ange92 commented Dec 7, 2019

How old were the deleted tweets? I'm stuck with about 2500 favorites/likes and not able to access those prior to 2018 till 2013 and I'd like to try this script.

@aymericbeaumet

This comment has been minimized.

Copy link
Owner Author

@aymericbeaumet aymericbeaumet commented Dec 10, 2019

@Ange92 I guess you can only delete what's being displayed on Twitter, it mostly works but is still quite a hacky solution :)

@Ange92

This comment has been minimized.

Copy link

@Ange92 Ange92 commented Dec 10, 2019

Many thx for your answer! I'll let you know about the result once I run your script.

@nightzw

This comment has been minimized.

Copy link

@nightzw nightzw commented Jan 7, 2020

First and only solution that has worked for me. No other scripts/apps did. Thanks a lot!

@hpiedcoq

This comment has been minimized.

Copy link

@hpiedcoq hpiedcoq commented Jan 19, 2020

Works like a charm! Many thanks!

@ndrmnl

This comment has been minimized.

Copy link

@ndrmnl ndrmnl commented Jan 19, 2020

It removed many of them, but then at some point it started unliking tweets without actually removing :( So now I ended up with a bunch of "liked tweets" which are not actually liked, i.e. the heart icon is gray, not red.
Any idea what can be done in this case? I found out that if I like them again and then unlike they disappear, but I don't want all of my followers to get notifications of me liking hundreds of their old tweets 😅

@hpiedcoq

This comment has been minimized.

Copy link

@hpiedcoq hpiedcoq commented Jan 19, 2020

@varadhjain

This comment has been minimized.

Copy link

@varadhjain varadhjain commented Jan 21, 2020

this worked! thank you.

@aymericbeaumet

This comment has been minimized.

Copy link
Owner Author

@aymericbeaumet aymericbeaumet commented Jan 21, 2020

@ndrmnl @hpiedcoq Yes this approach is mostly a hack, and generates a lot of requests from your user account. So, while the tweets might be unliked, maybe the information is not properly propagated to the service in charge of refreshing the list of liked tweets (wild guess). Sounds like a bug, but one could argue it's not really the expected workflow.

@rafaelvebr

This comment has been minimized.

Copy link

@rafaelvebr rafaelvebr commented Feb 6, 2020

This is awesome! Thanks!

@andybrice

This comment has been minimized.

Copy link

@andybrice andybrice commented Feb 17, 2020

This is great, thank you. Although I had to refresh and run it a few times to make sure everything was well-and-truly nuked.

@rad-hombre

This comment has been minimized.

Copy link

@rad-hombre rad-hombre commented Feb 20, 2020

Great script! Worked for me. Much appreciated 🤙

@DeveDikeni

This comment has been minimized.

Copy link

@DeveDikeni DeveDikeni commented Feb 21, 2020

adamsın tşk you man thx

@kstad

This comment has been minimized.

Copy link

@kstad kstad commented Mar 27, 2020

I've been looking for this forever! Thank you!

@lopezpappalardo

This comment has been minimized.

Copy link

@lopezpappalardo lopezpappalardo commented Apr 17, 2020

¡Great! Worked for me. Thanks.

@kayceegeek

This comment has been minimized.

Copy link

@kayceegeek kayceegeek commented Apr 21, 2020

Works superbly well. Thanks!

@TeresaCS

This comment has been minimized.

Copy link

@TeresaCS TeresaCS commented Apr 28, 2020

holy shit, i think it's working! but it's probably gonna take forever cuz i have almost 200k likes...

@TeresaCS

This comment has been minimized.

Copy link

@TeresaCS TeresaCS commented Apr 28, 2020

holy shit, i think it's working! but it's probably gonna take forever cuz i have almost 200k likes...

forgot to say, thanks so much!!!!

@albertamores

This comment has been minimized.

Copy link

@albertamores albertamores commented Apr 30, 2020

It worked! Thanks!

@leuthier

This comment has been minimized.

Copy link

@leuthier leuthier commented May 5, 2020

Thanks!

@RoeltaNcRave

This comment has been minimized.

Copy link

@RoeltaNcRave RoeltaNcRave commented May 16, 2020

thank you very much!

@vduglued

This comment has been minimized.

Copy link

@vduglued vduglued commented May 23, 2020

Nice work!

@ghost

This comment has been minimized.

Copy link

@ghost ghost commented May 25, 2020

How old were the deleted tweets? I'm stuck with about 2500 favorites/likes and not able to access those prior to 2018 till 2013 and I'd like to try this script.

Hey guys, hey @ aymericbeaumet,

thanks for this solution. It works – but only for all tweets which have a red heart. These are up to about 3200 Tweets due to limits of Twitter.

I have no Java Script Skills at all. But I guess it must be possible to rewrite this script in a way to first like the old tweets again and than to dislike. I guess it should only be about one line of code more.

Could anyone write this line for me?

I know that there will be notifications to the owner of that tweets, but I guess if you protect your account, it's okayish.

All the best.
A.

@aymericbeaumet

This comment has been minimized.

Copy link
Owner Author

@aymericbeaumet aymericbeaumet commented May 25, 2020

I have no Java Script Skills at all. But I guess it must be possible to rewrite this script in a way to first like the old tweets again and than to dislike.

You can use the same piece of code and just change the selector from 'div[data-testid="unlike"]' to 'div[data-testid="like"]'. But like you've said, this will trigger a bunch of notifications.

@hutt

This comment has been minimized.

Copy link

@hutt hutt commented May 26, 2020

The code to like and then unlike your tweets would be:

setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    d.click()
  }

  for (const e of document.querySelectorAll('div[data-testid="unlike"]')) {
    e.click()
  }

  window.scrollTo(0, document.body.scrollHeight)
}, 1000)
@Throwaway-MM

This comment has been minimized.

Copy link

@Throwaway-MM Throwaway-MM commented Jun 10, 2020

Just be aware the "ghost" likes which may not be even gone with re-like and unlike (again) may be due to daily rate limit. I need to test myself, the 3200 seems mythical (?) as I hit ghost likes with 5k or so.

Anyways in case someone else than me wants to delete all RT's, replies and tweets from with replies as well:

https://gist.github.com/FocusWho/5a8e74895293eae0071cec612477c72f

@lowkiigelo

This comment has been minimized.

Copy link

@lowkiigelo lowkiigelo commented Jul 2, 2020

Hi guys! I need help because when I tried first, it went well. My 17K likes went to 14.1K likes but it stopped there. Some likes still appeared on my likes despite it isn’t liked already. Is there a way to make them disappear?

@ConnorGold

This comment has been minimized.

Copy link

@ConnorGold ConnorGold commented Jul 14, 2020

Hello! I don't know much about java or the console, but I used this and it worked great until it stopped working, perhaps due to a daily limit.

I'd like to remove it and then start again, but I can't seem to figure out how? Right now the script runs whenever I open the Likes page, and I can't figure out how to get rid of it. Help! How do I remove the script and then add it again later?

@hana131

This comment has been minimized.

Copy link

@hana131 hana131 commented Jul 19, 2020

where is console, i use mobile browser please help me, i done step 1 but i don’t know what should i do and what page should i open to enter java code

@Pistolette

This comment has been minimized.

Copy link

@Pistolette Pistolette commented Jul 20, 2020

Worked great, but stopped after about 3k likes. Is that it, or can I run it again after a day (or week?) to finish the job?

@Kaywinnit

This comment has been minimized.

Copy link

@Kaywinnit Kaywinnit commented Jul 20, 2020

Thank you so much!

@Hannah986

This comment has been minimized.

Copy link

@Hannah986 Hannah986 commented Aug 1, 2020

It removed many of them, but then at some point it started unliking tweets without actually removing :( So now I ended up with a bunch of "liked tweets" which are not actually liked, i.e. the heart icon is gray, not red.
Any idea what can be done in this case? I found out that if I like them again and then unlike they disappear, but I don't want all of my followers to get notifications of me liking hundreds of their old tweets
I got that problem, any solution for that please?

@ryanallen

This comment has been minimized.

Copy link

@ryanallen ryanallen commented Aug 13, 2020

Thank you <3

@primroserobin

This comment has been minimized.

Copy link

@primroserobin primroserobin commented Aug 22, 2020

it worked but how do i get rid of the phantom likes ?

@lzkill

This comment has been minimized.

Copy link

@lzkill lzkill commented Aug 26, 2020

Great! Worked flawlessly!

@GHUser727

This comment has been minimized.

Copy link

@GHUser727 GHUser727 commented Aug 29, 2020

Thanks for this! Has anyone with the ghost/phantom likes problem found a solution? Is there any chance they'll disappear with time? (I now have a ton of phantom likes from running this; trying to figure out my next step.) Thanks!

@doorbash

This comment has been minimized.

Copy link

@doorbash doorbash commented Aug 29, 2020

Works like a mard 👍

@alexeysolonets

This comment has been minimized.

Copy link

@alexeysolonets alexeysolonets commented Aug 31, 2020

Brilliant!

@chikobara

This comment has been minimized.

Copy link

@chikobara chikobara commented Sep 3, 2020

Thank U so much bro

@fe404

This comment has been minimized.

Copy link

@fe404 fe404 commented Sep 17, 2020

The code to like and then unlike your tweets would be:

setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    d.click()
  }

  for (const e of document.querySelectorAll('div[data-testid="unlike"]')) {
    e.click()
  }

  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

Hi!! After I used this I got all my 35k likes deleted, but now I can't like anything :(. Does anyone know how to change this?

@luisnomad

This comment has been minimized.

Copy link

@luisnomad luisnomad commented Sep 17, 2020

Genius! Anyone running this after watching The Social Dilemma?

@Neontiendo

This comment has been minimized.

Copy link

@Neontiendo Neontiendo commented Sep 21, 2020

Does anyone know what's the daily fav limit? Apparently I'm not able to keep defaving anymore, at least for today.

@reflojo

This comment has been minimized.

Copy link

@reflojo reflojo commented Sep 24, 2020

Does anyone know what's the daily fav limit? Apparently I'm not able to keep defaving anymore, at least for today.

3100 or 3200 is the daily limit

@INT3GRAL25

This comment has been minimized.

Copy link

@INT3GRAL25 INT3GRAL25 commented Sep 25, 2020

I have 29.2K "Ghost Liked" Tweets. I've run this script twice in the last 24 hours. Once yesterday afternoon and once about half an hour ago. After a while, it seemed my account was then blocked from favoriting any more tweets after running this yesterday, so I waited until a little while ago to run it again but this time it only worked for a few minutes before I seemingly reached some sort of like limit again. Is there a limit to how many tweets I can like in a certain span of time? I want to get rid of these 29.2k ghost likes but if it's going to keep blocking me from liking and then unliking these tweets after a short period of time, this process will likely take me weeks to complete...

@Rylon

This comment has been minimized.

Copy link

@Rylon Rylon commented Sep 30, 2020

I seem to have the same problem. Liking and unliking again on the /likes page doesn't seem to work, but I found if I click one of the liked tweets in question to open that tweet directly, then click 'like' and 'unlike', then go back to the /likes page, the ghost tweet will be gone. Not sure the best way to automate that though given I have like 4000 ghost likes to go through 🤪

@Arantik

This comment has been minimized.

Copy link

@Arantik Arantik commented Oct 5, 2020

It works perfect! Thank you.

@Eman-A-F

This comment has been minimized.

Copy link

@Eman-A-F Eman-A-F commented Oct 6, 2020

The code to like and then unlike your tweets would be:

setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    d.click()
  }

  for (const e of document.querySelectorAll('div[data-testid="unlike"]')) {
    e.click()
  }

  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

Hi!! After I used this I got all my 35k likes deleted, but now I can't like anything :(. Does anyone know how to change this?

I have the same problem did you find a solution?

@TAMSHUI

This comment has been minimized.

Copy link

@TAMSHUI TAMSHUI commented Oct 7, 2020

cool!!!

@burnticarus

This comment has been minimized.

Copy link

@burnticarus burnticarus commented Oct 7, 2020

The code to like and then unlike your tweets would be:

setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    d.click()
  }

  for (const e of document.querySelectorAll('div[data-testid="unlike"]')) {
    e.click()
  }

  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

Hi!! After I used this I got all my 35k likes deleted, but now I can't like anything :(. Does anyone know how to change this?

I have the same problem did you find a solution?

yep. Same problem, haven't found a solution, yet.

@brunomartins-mv

This comment has been minimized.

Copy link

@brunomartins-mv brunomartins-mv commented Oct 8, 2020

thanks man, it worked very well, but I'm concerned about the people saying that they can't like any tweets anymore, if I have trouble I'll comeback to give me feedback.

@flashlightly

This comment has been minimized.

Copy link

@flashlightly flashlightly commented Oct 9, 2020

thanks man, it worked very well, but I'm concerned about the people saying that they can't like any tweets anymore, if I have trouble I'll comeback to give me feedback.

they can
it's just the temporary like limit

@jgbghjbjkn

This comment has been minimized.

Copy link

@jgbghjbjkn jgbghjbjkn commented Oct 9, 2020

how can I remove the number of likes ? because it still shown

@L200194239

This comment has been minimized.

Copy link

@L200194239 L200194239 commented Oct 13, 2020

can't believe this really work, thankyou so fucking much

@RRR2020-Temp

This comment has been minimized.

Copy link

@RRR2020-Temp RRR2020-Temp commented Oct 13, 2020

I used the code but somehow it has left behind a lot of phantom likes. Any solutions to resolving this?

@Rylon

This comment has been minimized.

Copy link

@Rylon Rylon commented Oct 14, 2020

I used the code but somehow it has left behind a lot of phantom likes. Any solutions to resolving this?

Same here, I've found I can clear them manually one at a time but doing what I said in this comment but obviously that doesn't scale to thousands of ghost likes.

Anyone found a workaround? It's really confusing to me that they don't show up at all via the API 🤔

@tinesh-tech

This comment has been minimized.

Copy link

@tinesh-tech tinesh-tech commented Oct 16, 2020

@ndrmnl @hpiedcoq Yes this approach is mostly a hack, and generates a lot of requests from your user account. So, while the tweets might be unliked, maybe the information is not properly propagated to the service in charge of refreshing the list of liked tweets (wild guess). Sounds like a bug, but one could argue it's not really the expected workflow.

hii it deleted few liked tweets but after sometime i have also same problem. tweets are unlikes and the heart button isnt red but they are still in likes section of my acccount can you help me? how do i remove them from likes section completely? i tried the like and then unlike code but it also isnt working. thanks

@spiko-md

This comment has been minimized.

Copy link

@spiko-md spiko-md commented Oct 18, 2020

Thank you. Am also getting "phantom likes", but they might go away. I modified your code to allow setting a cut-off date:

const cut = new Date(2020,9,1); //month starts with 0, so this is 2020-10-1!
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    const postDate = new Date(d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
	if (postDate<cut) {
		console.log('deleting like from', postDate);
		d.click();
	} else {
		console.warn('not deleting like from', postDate);
	}
  }
  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

it gets the date of post from d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1] which will probably change in future, so test if this is indeed the date when running this script!

@tinesh-tech

This comment has been minimized.

Copy link

@tinesh-tech tinesh-tech commented Oct 20, 2020

thank you very much for this. now there arent any tweets in liked section but still above it is showing 19k likes and the same goes with tweets. can you resolve this if possible? thank you very much.
twitterlikes
tweets

@INT3GRAL25

This comment has been minimized.

Copy link

@INT3GRAL25 INT3GRAL25 commented Oct 20, 2020

thank you very much for this. now there arent any tweets in liked section but still above it is showing 19k likes and the same goes with tweets. can you resolve this if possible? thank you very much.
twitterlikes
tweets
I've had the same issue as well. It says I have no liked tweets but if If I check from an alternate account, all of the tweets I've liked are still there...

@lumihost

This comment has been minimized.

Copy link

@lumihost lumihost commented Oct 24, 2020

Thank you. Am also getting "phantom likes", but they might go away. I modified your code to allow setting a cut-off date:

const cut = new Date(2020,9,1); //month starts with 0, so this is 2020-10-1!
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
    const postDate = new Date(d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
	if (postDate<cut) {
		console.log('deleting like from', postDate);
		d.click();
	} else {
		console.warn('not deleting like from', postDate);
	}
  }
  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

it gets the date of post from d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1] which will probably change in future, so test if this is indeed the date when running this script!

what if i want to remove the "phantom likes" but with your code method ? i try adding some lines like this, is this gonna be working ?

const cut = new Date(2020,9,1); //month starts with 0, so this is 2020-10-1!
setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    const postDate = new Date(d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
	if (postDate<cut) {
	  console.log('Liking like from', postDate);
	  d.click();
              for (const c of document.querySelectorAll('div[data-testid="unlike"]')) {
              const postDate = new Date(c.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
		if (postDate<cut) {
			console.log('And disliking after that ', postDate);
		        c.click();
		}
	      }
	} else {
		console.warn('not deleting like from', postDate);
	}
  }
  window.scrollTo(0, document.body.scrollHeight)
}, 4000)
@luaniu

This comment has been minimized.

Copy link

@luaniu luaniu commented Oct 28, 2020

setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}
window.scrollTo(0, document.body.scrollHeight)
}, 1000)

@luaniu

This comment has been minimized.

Copy link

@luaniu luaniu commented Oct 28, 2020

const cut = new Date(2020,9,1); //month starts with 0, so this is 2020-10-1!
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="like"]')) {
const postDate = new Date(d.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
if (postDate<cut) {
console.log('Liking like from', postDate);
d.click();
for (const c of document.querySelectorAll('div[data-testid="unlike"]')) {
const postDate = new Date(c.parentNode.parentNode.parentNode.parentNode.firstChild.firstChild.firstChild.firstChild.children[2].title.split('·')[1]);
if (postDate<cut) {
console.log('And disliking after that ', postDate);
c.click();
}
}
} else {
console.warn('not deleting like from', postDate);
}
}
window.scrollTo(0, document.body.scrollHeight)
}, 4000)

@beefburger5

This comment has been minimized.

Copy link

@beefburger5 beefburger5 commented Oct 28, 2020

thank you very much for this. now there arent any tweets in liked section but still above it is showing 19k likes and the same goes with tweets. can you resolve this if possible? thank you very much.
twitterlikes
tweets

I'm having the same issue as you, does anyone have a fix for this? Thanks

@issabanana

This comment has been minimized.

Copy link

@issabanana issabanana commented Nov 6, 2020

how do we deal with the phantom likes?

@duffy2403

This comment has been minimized.

Copy link

@duffy2403 duffy2403 commented Nov 7, 2020

The code to like and then unlike your tweets would be:

setInterval(() => {
  for (const d of document.querySelectorAll('div[data-testid="like"]')) {
    d.click()
  }

  for (const e of document.querySelectorAll('div[data-testid="unlike"]')) {
    e.click()
  }

  window.scrollTo(0, document.body.scrollHeight)
}, 1000)

i did this it work for most of it. But the issue i have now is that my twitter is constantly being auto scrolled down to the bottom. Is there a command that i can use to stop it from scrolling or carrying out the previous commands sent?

@yuissance

This comment has been minimized.

Copy link

@yuissance yuissance commented Nov 19, 2020

setInterval(() => { for (const d of document.querySelectorAll('div[data-testid="unretweet"]')) { d.click() } window.scrollTo(0, document.body.scrollHeight) }, 1000)

if you want to delete your retweets, this works for me.

@Sad-Jamie

This comment has been minimized.

Copy link

@Sad-Jamie Sad-Jamie commented Dec 13, 2020

It is annoying that to this day, twitter hasn't fixed any of these problems. No liked tweets but somehow have triple the initial likes I had beforehand, none showing on my account. Tried contacting support no response. Can they even resolve this issue...

@alpceylan

This comment has been minimized.

Copy link

@alpceylan alpceylan commented Dec 13, 2020

Fantastic!

@Rylon

This comment has been minimized.

Copy link

@Rylon Rylon commented Dec 14, 2020

It is annoying that to this day, twitter hasn't fixed any of these problems. No liked tweets but somehow have triple the initial likes I had beforehand, none showing on my account. Tried contacting support no response. Can they even resolve this issue...

Yeah, I also raised it a few times with Twitter support, but sadly didn't receive a single reply.

@ChitranshuV

This comment has been minimized.

Copy link

@ChitranshuV ChitranshuV commented Jan 8, 2021

Thanks. This was godsend. I tried lots of places and those methods never worked

@jbreckmckye

This comment has been minimized.

Copy link

@jbreckmckye jbreckmckye commented Jan 20, 2021

One for removing retweets:

const wait = ms => new Promise(r => setTimeout(r, ms));

async function clearRT () {
  for (const d of document.querySelectorAll('div[data-testid="unretweet"]')) {
    d.click();
    await wait(1000)
    const c = document.querySelector('div[data-testid="unretweetConfirm"]');
    if (c) c.click();
  }
  window.scrollTo(0, document.body.scrollHeight)
  clearRT()
}

clearRT()
@lajawi

This comment has been minimized.

Copy link

@lajawi lajawi commented Feb 6, 2021

This is amazing! It works, not only in Google Chrome, but in Firefox too! Thanks!

@0-pyn-g

This comment has been minimized.

Copy link

@0-pyn-g 0-pyn-g commented Feb 15, 2021

It works, thank you!

@myownbiggestfan

This comment has been minimized.

Copy link

@myownbiggestfan myownbiggestfan commented Feb 18, 2021

The first script worked up to a certain point, but left a ton of weird un-hearted likes from before Christmas of last year. Then I tried running the other script for the "ghost likes" to delete those and all that happened is that it messed up my account so I couldn't like anything. Today that has been fixed on twitter's side but the script still does not work. Not sure how people are getting results here.

@iqbalpa

This comment has been minimized.

Copy link

@iqbalpa iqbalpa commented Feb 21, 2021

wow that's work, thank youu!!

@JustThatJames

This comment has been minimized.

Copy link

@JustThatJames JustThatJames commented Mar 29, 2021

Worked! Appreciate it!

@breviloquencestewardesses

This comment has been minimized.

Copy link

@breviloquencestewardesses breviloquencestewardesses commented Apr 6, 2021

I'm still having about 25k Likes. Any solutions yet?

@11ma

This comment has been minimized.

Copy link

@11ma 11ma commented Apr 13, 2021

noice

@yuricampolongo

This comment has been minimized.

Copy link

@yuricampolongo yuricampolongo commented Apr 16, 2021

Great!!! Thanks a lot!

@halilnevzat

This comment has been minimized.

Copy link

@halilnevzat halilnevzat commented Apr 22, 2021

can you make delete tweets and retweets version ? great solution btw !

@PedroPareja

This comment has been minimized.

Copy link

@PedroPareja PedroPareja commented Apr 28, 2021

Fantastic! Thanks!!

@rick8pat

This comment has been minimized.

Copy link

@rick8pat rick8pat commented May 6, 2021

Brilhant! Thank you.

@pinkforest

This comment has been minimized.

Copy link

@pinkforest pinkforest commented May 17, 2021

Hey all.

I wrote educational article on Medium based on how to also delete tweets, replies and retweets

https://missmissm.medium.com/my-caught-fire-491e6a9a2837

It's a bit more involved as it contains three actions and you can't just use the test-id there like with likes.

If you wish to see full script refactored let me know :)

@alvinqingxing

This comment has been minimized.

Copy link

@alvinqingxing alvinqingxing commented May 20, 2021

Thanks, this worked!

@wineandfine

This comment has been minimized.

Copy link

@wineandfine wineandfine commented May 24, 2021

Hi there, do you have any chance to know recipe how to delete old tweets? thank you

@MPuNKINa

This comment has been minimized.

Copy link

@MPuNKINa MPuNKINa commented Jun 5, 2021

This did not remotely work on my computer. I wonder if the particular computer's RAM speed. Thought?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment