Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Delete Very Old Replies to Replies #56

Open
thrillinphil opened this issue Jul 16, 2024 · 1 comment
Open

How To Delete Very Old Replies to Replies #56

thrillinphil opened this issue Jul 16, 2024 · 1 comment

Comments

@thrillinphil
Copy link

Hey there, hope this is not bad Github etiquette but:

I noticed this script works really well using the twitter archive's tweets.js file except it was failing to delete about 200 old tweets. After some research, I realized it was skipping over my replies to myself in long threads. It would delete the original post but not my replies to myself.

During a boring work meeting, I decided to test something after comparing tweets that weren't deleted to ones that were.

I edited the tweets.js file and deleted every row that contained "in_reply_to". This originally threw an error and then I realized this left some dangling commas on the "lang : en" lines if there were no "extended_entries" after. So after some painstaking surgery to remove those, the file was accepted and about 80% of the missed tweets were then deleted. (see screenshot attached)

There's still some stragglers but they are so old I am struggling to even find them to compare. Anyway, just wanted to let you know my process in case anyone is still working on this script or wants to recreate my fix. I don't know if the script can be modified to ingest these replies-to-replies but if not, here's my solution for others. Thanks for the great script!

example

@fansxcel
Copy link

This was a big help. so my help back to you is,

Notepad++ has a plugin called "line filter" you can highlight any selected row of text and prune those lines from the over all notepad. So i'd highlight "Twitter.com" which would then output all of the links with "ID's" post, tweets, retweets, reply-to ids, etc... I then use that document to strip off the URL and now just have a total list of IDs. Then you can use this script option to "remove these tweet id's only"

hope this helps you cut the tedious task down!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants