-
Notifications
You must be signed in to change notification settings - Fork 1
Basic error handling and inclusion of retweet removal with logs #5
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
Open
hybolic
wants to merge
8
commits into
baruchiro:master
Choose a base branch
from
hybolic:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6be48b5
init
hybolic 8866ce7
remove login navigation
hybolic b08eda2
args and likes
hybolic 69895a2
readme update and bugfix
hybolic 853fcce
use commander for command line arguments
baruchiro 8bba9c5
merge with pr-suggestions with minor fixes
hybolic 0cf5f4e
Merge remote-tracking branch 'origin/master' into pr/hybolic/5-3
baruchiro f2b8080
Merge remote-tracking branch 'origin/master' into pr/hybolic/5-4
baruchiro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,3 +3,6 @@ node_modules/ | |
| .vscode/ | ||
|
|
||
| dist/ | ||
| data/ | ||
| *_log.txt | ||
| test.sh | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,36 @@ | ||
| # Delete Your Old Tweets | ||
| # Delete Your Old Tweets, Retweets And Likes | ||
|
|
||
| 1. this application will require [NodeJS](https://nodejs.org/en/download/current) and [Yarn](https://classic.yarnpkg.com/lang/en/docs/install/) to run | ||
| 1. [Download your Twitter archive](https://twitter.com/settings/download_your_data), which contains all your tweets. | ||
| 1. Locate the JSON contains your tweets, which is `data/tweet.js` (or `data/twitter-circle-tweet.js`) in the archive. | ||
| 2. Locate the JSON contains your tweets, which is `data/tweet.js` (`data/like.js` or `data/twitter-circle-tweet.js`) in the archive. | ||
|
|
||
| 3. Choose one of the following | ||
|
|
||
| ## To Delete tweets | ||
| 1. Run this project with `yarn && yarn start data/tweet.js`. | ||
| 1. It will wait you for login | ||
| 1. After login, it will delete all your tweets. | ||
| 2. It will wait you for login | ||
| 3. After login, it will delete all your tweets. | ||
|
|
||
| ## To Delete Twitter circle tweets | ||
| 1. Run this project with `yarn && yarn start data/twitter-circle-tweet.js`. | ||
| 2. It will wait you for login | ||
| 3. After login, it will delete all your circle tweets. | ||
|
|
||
|
|
||
| ## To Unlike previously Liked tweets | ||
| 1. Run this project with `yarn && yarn start data/like.js`. | ||
| 2. It will wait you for login | ||
| 3. After login, it will unlike your likes. | ||
|
|
||
|
|
||
| ## Commandline Arguments | ||
|
|
||
| | argumensts | | | ||
| | ------------- |:-------------:| | ||
| | -debug | writes debug information to log file | | ||
| | -log | writes log information to log file | | ||
| | -exlog | writes all information from log and debug to log file | | ||
| | -nolog | forces app to run without making a log file, could be helpful if removing large amounts of tweets/retweets/likes | | ||
| | -skip %number% | skips up to the index given, good if you had to close the app or it crashed and don't have time to rerun the entire file | | ||
| | -delay %ms% | the delay used between actions, try not to use below 5000ms as this could cause rate limiting | | ||
hybolic marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| | -timeout %ms% | the timeout amount used after tweet is loaded (helpful on low bandwidth connections), try not to use below 5000ms as this could cause rate limiting | | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.