Note
I made a better version of this that just runs in your browser!
This is a script which lets you export your Twitter Bookmarks, including all media (photos and videos, as well as fully expanded URLs) attached to those tweets.
Unfortunately it's not possible for me to make a website which does this for you, because the Twitter API does not support CORS, and I can't pay for a server which can support the bandwidth that would be needed to download all the media associated with everyone's bookmarks on the backend. So you'll need to run this script yourself. It's a bit complicated. You'll need a Twitter Developer account.
cd
into the directory in which you unzipped the script.$ npm install
.env
in that same directory, with the following
contents:
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
.env
file. App permissions should be set to
"Read", Type of App should be set to "Native App", and the Callback URI
should be set to http://localhost:3000
. It doesn't matter what your
"Website URL" is. If you go through this process and are able to improve
this bit of the documentation, please open a pull request!!TWITTER_CLIENT_ID=XXXXxXXXXxxXXXXXXXXxXXxXXXXXxXXXXx
TWITTER_CLIENT_SECRET=XXXxXxXxxxXXX_xXXXXxXXXXxXXXxXX-XXXxXxXXxxxxXXXxxX
node .