Skip to content

Instantly share code, notes, and snippets.

@cfraizer
Last active June 14, 2020 16:08
Show Gist options
  • Save cfraizer/1ddf92039df1b148fd5cdcd71555a438 to your computer and use it in GitHub Desktop.
Save cfraizer/1ddf92039df1b148fd5cdcd71555a438 to your computer and use it in GitHub Desktop.
How to get your Twitter Archive Data

To get the archive that the Python script operates on:

  1. Visit https://twitter.com
  2. From the menu, select "More" → "Settings and privacy", which will take you to the Settings page.
  3. On the Settings page, pick "Your Twitter data" → "Download archive".

NOTE: You will get a tweet and an email when the data is ready to be downloaded. It will be a large ZIP file. When you unzip it, it does not create a directory to contain the contents, so you probably want to create a directory with a name like twitter, put the ZIP file in there, and then unzip it. (Cleverer ways to accomplish this in one sh command are left as an exercise for the reader.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment