koenrh / delete-tweets

Delete tweets from your timeline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Delete replies deletes threaded conversation too

akilangh opened this issue · comments

When the script is told to delete replies, it deletes replies of the user to their own tweets. These are truly not replies but threaded tweets even thought technically they are classified as replies. There should be an option to spare these replies from being deleted.

Good suggestion, thanks!

I successfully coded and used this feature. But my hack uses user-id of parent tweet to guess which tweet is a thread and I'm not sure how to get this info from user without making them work hard. :) If you have any ideas let me know. I will send a PR shortly with my solution.

@akilan27 was your PR accepted?

I'm yet to make a PR. Will do in a couple of days max.

@akilan27 - any updates?

Hello all,
Sorry for a long delay. Got married, moved countries amid COVID19 etc. Anyway back now and I discovered that Twitter changed their format a bit. Gah. Anyway I will file two PRs shortly: one to fix a "bug" that deleted all tweets even if 'replies' filter is enabled (caused by Twitter changing their file format) and another to preserve threads when deleting replies.

First PR: #91

Creating another PR adds my first commit too. Guess I have to wait for first PR to be approved (The change depends on previous one too).
Here is the commit finishing this issue: akilangh@f7bd660

@koenrh Can you look at the PR?