Last active
February 20, 2022 16:53
-
-
Save naveen/e3d2b37173cc44289040ede8c3a22e45 to your computer and use it in GitHub Desktop.
push all currently following into twitter list (backup / archive) using t tool and twurl
This file contains 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
# push all currently following into twitter list (backup / archive) using t tool and twurl | |
# | |
# a temp hack, as the t tool should do both but i can't get [t followings | xargs t list add following-`date "+%Y-%m-%d"`] to work | |
# get list of usernames | |
t followings > followings.txt | |
# break into 100 username chunks, comma-separated | |
twurl -d 'screen_name=twitter,twittersupport&list_id=NNNNNN' /1.1/lists/members/create_all.json |
to get working
- Go to https://apps.twitter.com/
- Ensure your app (whether newly created or otherwise) has Read, Write and Access direct messages permissions
- Locally run gem install twurl
- Run twurl authorize --consumer-key {YOUR APP'S CONSUMER KEY} --consumer-secret {YOUR APP'S CONSUMER SECRET}
- Follow the steps it requests that you do
- Copy ~/.twurlr to ~/.trc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
t here: https://github.com/sferik/t