Skip to content

Instantly share code, notes, and snippets.

@bitsgalore
Created November 20, 2022 13:32
Show Gist options
  • Save bitsgalore/cfdff3ce67f1ffa85f67e87c778a9e75 to your computer and use it in GitHub Desktop.
Save bitsgalore/cfdff3ce67f1ffa85f67e87c778a9e75 to your computer and use it in GitHub Desktop.
Example of JSON format used in Twitter archive for one single Tweet (from tweets.js)
{
"tweet" : {
"edit_info" : {
"initial" : {
"editTweetIds" : [
"1588159317974319106"
],
"editableUntil" : "2022-11-03T13:51:02.000Z",
"editsRemaining" : "5",
"isEditEligible" : false
}
},
"retweeted" : false,
"source" : "<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App</a>",
"entities" : {
"hashtags" : [
{
"text" : "WDPD2022",
"indices" : [
"202",
"211"
]
},
{
"text" : "WheelOutTheDigitalDarkAgeKlaxon",
"indices" : [
"212",
"244"
]
}
],
"symbols" : [ ],
"user_mentions" : [ ],
"urls" : [
{
"url" : "https://t.co/y2gpEVvjAd",
"expanded_url" : "https://youtu.be/C47ZCosJPAw",
"display_url" : "youtu.be/C47ZCosJPAw",
"indices" : [
"246",
"269"
]
}
]
},
"display_text_range" : [
"0",
"269"
],
"favorite_count" : "16",
"id_str" : "1588159317974319106",
"truncated" : false,
"retweet_count" : "6",
"id" : "1588159317974319106",
"possibly_sensitive" : false,
"created_at" : "Thu Nov 03 13:21:02 +0000 2022",
"favorited" : false,
"full_text" : "Wheel Out The Digital Dark Age Klaxon - new track by the forgotten, now reactivated Rotterdam electro outfit the Digital Dark Age Crew, released today on the occasion of World Digital Preservation Day #WDPD2022 #WheelOutTheDigitalDarkAgeKlaxon 📯https://t.co/y2gpEVvjAd",
"lang" : "en"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment