How to fix š's broken "Download an archive of your data" feature
A fix for a crucial feature in š.
I recently exported my Twitter (now š) data archive to clean up some old tweets. Once I started generating it, it took about 24 hours to create theĀ archive.
The URL I received to download the archive was in the structureĀ https://ton.twitter.com/i/ton/data/archives/123456789/twitter-2024-05-25-hash.zip
.
Trying to access this URL gave me an error in Safari. I tried to do it in Chrome, but got aĀ 401 Unauthorized
error as I wasnāt logged in to š onĀ Chrome.
I realized that recently, the app migrated to the URLĀ x.com.
I tried accessingĀ https://ton.x.com/i/ton/data/archives/123456789/twitter-2024-05-25-hash.zip
, and it worked correctly ā the fix beingĀ ton.x.com
, instead ofĀ ton.twitter.com
. It seems like the URL was hardcoded somewhere and when they moved it over, they didnāt update theĀ code.