Michele Weigle Profile picture
Find me at weiglemc@digipres.club @ODUcs Prof (@WebSciDL, #webarchiving, #infovis, networking), alum of @UNCcs ('98, '03), @ULM_Official (NLU '96), @LSU fan

Nov 18, 2022, 5 tweets

If you've downloaded your Twitter archive, note that the "Your archive.html" page renders links in your tweets as t .co links. If Twitter dies, so does the t .co redirection service.

See below to further preserve the links in your tweets.

Inside your Twitter archive, the file data/tweets.js contains your tweet data, including information about links.

The snippet here shows the "urls" structure corresponding to the t .co in my previous tweet. It includes the t .co "url" as well as the "expanded_url".

If you want to be able to later resolve the t .co URLs, you can push them to the @waybackmachine now.

Use this awk line to grab all of the t .co URLs in your tweets.js file:
awk -F '\"' '/\"url\" :/ {print $4}' tweets.js

gist.github.com/weiglemc/312a1…

Then you can copy those t .co URLs into a Google Sheet and use the @internetarchive's batch processing service to archive them.
archive.org/services/wayba…

Make sure to check 'Save results in a new Sheet' to get the archived URLs, aka mementos, added to your spreadsheet.

Save Page Now (spn@archive.org) will send you an email when the process is complete and your original Google Sheets file will have a new tab that contains the links to the new mementos.

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling