What is tweet-headers.js in your X archive?
tweet-headers.js is a slim index of your posts: one entry per post with its ID, your user ID and when it was created. It has no text. The full posts are in tweets.js.
How to open it
It is a text file in the archive’s data folder. Open it in any text editor; delete the first line’s window.YTD... = prefix and the rest is plain JSON any JSON tool can read. Our free viewer does not read this file yet; it covers likes, bookmarks and your own posts.
Fields in tweet-headers.js
| Field | What it means |
|---|---|
| tweetId | ID of the post. |
| userId | Your account ID. |
| createdAt | When the post was created. |
What it is useful for
- Counting how much you posted per day, month or year without loading the full posts.
- Checking tweets.js is complete by comparing the two lists of IDs.
What to watch out for
- No text, so it is not useful for searching what you said.
Related files
- tweets.js : Your own posts
- deleted-tweets.js : Recently deleted posts
Field names come from the README.txt X includes in every archive. X changes the archive from time to time, so check the README in your own download if something differs. See every file in the archive.