A simple application to download your memories from your Snapchat MyData.
This tool was created after discovering that in order to download the actual images/videos two steps are needed;
- Do a POST with the "downloadlink" (app.snapchat.com/dmd/memories?something) to get the actual downloadlink (something.amazonaws.com/someMoreThings)
- Download the media using that actual download link.
Next to that I wanted the files to have the original timestamp as creation date. Oh and of course to not do this whole stupid process manually 🤦♂️️
In order to get the raw JSON file "memories_history.json" you need to request MyData at Snapchat: https://support.snapchat.com/a/download-my-data
Because about 99% of my current development work is Flutter, so Dart was the most recent familiar language and also covered the requirements I had.
- Install Dart: https://dart.dev/tutorials/server/get-started#2-install-dart
- Clone the project
cdinto the project dir- Run
pub get(info: https://dart.dev/tutorials/server/get-started#5-get-the-apps-dependencies) - Make sure your "memories_history.json" is placed in the folder named "input/", or change the path/name in code at
_inputFile. - Run the app with
dart bin/main.dart(info: https://dart.dev/tutorials/server/get-started#6-run-the-app) - Grab a beer and wait 🍺
- Enjoy all the memories
- Grab more beer 🍻
- Delete your Snapchat account: https://support.snapchat.com/en-US/a/delete-my-account1
Didn't have any extra time yet 🤷♂️