UnlikeAllTweets icon indicating copy to clipboard operation
UnlikeAllTweets copied to clipboard

Update this to add archive-reading?

Open ghost opened this issue 1 year ago • 2 comments

Since the twitter data we get also contains a like.js file with all our liked tweets, could we get the code to read from an archive imported here? Would be super helpful for unliking tweets made by someone who has since blocked you. The structure of like.js is quite simple:

"like" : {
      "tweetId" : "0000000000000000000",
      "fullText" : "Example text",
      "expandedUrl" : "https://twitter.com/i/web/status/0000000000000000000"
    }

Just grab the tweet ID, jam it into a POST statement to unlike, and that should work. This could also be a way to work around the issue of liked tweets not loading. Plus it should also allow for unliking tweets made by people who blocked you. That issue seems to be a result of quickly unliking many tweets. It's as if the API of the site itself refuses to load any liked tweets for a long period of time. For a while, due to my wiping several thousand tweets out, my account was not loading any other tweets or replies, so my profile looked completely empty. This remained for several days until finally one day it started showing more tweets that I could delete.

ghost avatar Jan 27 '24 22:01 ghost

Love your scripts by the way, they've been super useful in wiping out my old twitter account.

ghost avatar Jan 27 '24 22:01 ghost

Hey @ghost, do u receive any update from @Lyfhael?

I'm solving the domain problem + adding some features to make a pull request and, if haven't updated, I'd be happy to try to investigate your needs :)

DiegoBArruda avatar May 27 '24 11:05 DiegoBArruda