Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/winsmith/twitterdmjsonparser
Take your twitter archive and extract all DMs with one person
https://github.com/winsmith/twitterdmjsonparser
Last synced: 13 days ago
JSON representation
Take your twitter archive and extract all DMs with one person
- Host: GitHub
- URL: https://github.com/winsmith/twitterdmjsonparser
- Owner: winsmith
- Created: 2020-05-07T14:46:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-07T14:51:38.000Z (over 4 years ago)
- Last Synced: 2024-11-03T15:42:48.764Z (2 months ago)
- Language: Swift
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# twitterdmjsonparser
Take your twitter archive and extract all DMs with one person1. Go to Twitter Profile Settings and Request, then download your archive
2. Open the Zip and go to `direct-messages.js`
3. Remove `window.YTD.direct_messages.part0 = ` from the first line. The line should start with a `[`
4. Find one message in the JSON that is from the DM conversation you want to extract. If it's a message from you, copy it's `senderId` into `main.swift` as `yourId`, then copy it's `recipientId` into `main.swift` as `otherPersonID`.
5. Change `main.swift` to your liking, add ID's to the idLookuptable
6. Run the thing
7. A html file is now in your download folder