Skip to content

Instantly share code, notes, and snippets.

@scripting
Created September 19, 2014 12:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save scripting/24a97569e8103799d942 to your computer and use it in GitHub Desktop.
Save scripting/24a97569e8103799d942 to your computer and use it in GitHub Desktop.
An example of the metadata Twitter keeps about an individual tweet.
{
"created_at": "Fri Sep 19 12:20:23 +0000 2014",
"id": 512939257850511360,
"id_str": "512939257850511360",
"text": "\"I never used the Blackberry again.\" https://t.co/CYsbbBDtOh",
"source": "<a href=\"http://radio3.io/\" rel=\"nofollow\">radio3.io</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
"in_reply_to_user_id_str": null,
"in_reply_to_screen_name": null,
"user": {
"id": 3839,
"id_str": "3839",
"name": "Dave Winer ☮",
"screen_name": "davewiner",
"location": "New York, NY",
"description": "Developer of outliners, rivers, blogging tools, RSS aggregators, podcasting. Maker of software snacks! http://t.co/zm3UL7oRiT",
"url": "http://t.co/fuxogiHMsn",
"entities": {
"url": {
"urls": [
{
"url": "http://t.co/fuxogiHMsn",
"expanded_url": "http://scripting.com/",
"display_url": "scripting.com",
"indices": [
0,
22
]
}
]
},
"description": {
"urls": [
{
"url": "http://t.co/zm3UL7oRiT",
"expanded_url": "http://scripting.com/2014/07/13/whyLittleCardEditorIsSoMuchFun.html",
"display_url": "scripting.com/2014/07/13/why…",
"indices": [
103,
125
]
}
]
}
},
"protected": false,
"followers_count": 65766,
"friends_count": 3338,
"listed_count": 5305,
"created_at": "Sat Aug 05 23:04:08 +0000 2006",
"favourites_count": 625,
"utc_offset": -14400,
"time_zone": "Eastern Time (US & Canada)",
"geo_enabled": true,
"verified": true,
"statuses_count": 89853,
"lang": "en",
"contributors_enabled": false,
"is_translator": false,
"is_translation_enabled": false,
"profile_background_color": "9AE4E8",
"profile_background_image_url": "http://pbs.twimg.com/profile_background_images/717125100/3586a8799a22000163338de985b8f148.jpeg",
"profile_background_image_url_https": "https://pbs.twimg.com/profile_background_images/717125100/3586a8799a22000163338de985b8f148.jpeg",
"profile_background_tile": true,
"profile_image_url": "http://pbs.twimg.com/profile_images/378800000705453175/798b66aa97060b8c728771d5b0399aa1_normal.jpeg",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/378800000705453175/798b66aa97060b8c728771d5b0399aa1_normal.jpeg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/3839/1398200644",
"profile_link_color": "7F7F90",
"profile_sidebar_border_color": "FFFFFF",
"profile_sidebar_fill_color": "E1E1DF",
"profile_text_color": "000000",
"profile_use_background_image": true,
"default_profile": false,
"default_profile_image": false,
"following": false,
"follow_request_sent": false,
"notifications": false
},
"geo": null,
"coordinates": null,
"place": null,
"contributors": null,
"retweet_count": 0,
"favorite_count": 0,
"entities": {
"hashtags": [],
"symbols": [],
"urls": [
{
"url": "https://t.co/CYsbbBDtOh",
"expanded_url": "https://www.facebook.com/dave.winer.12/posts/279023518971727",
"display_url": "facebook.com/dave.winer.12/…",
"indices": [
37,
60
]
}
],
"user_mentions": []
},
"favorited": false,
"retweeted": false,
"possibly_sensitive": false,
"lang": "en",
"#smallpict": {
"productname": "Twitter-In-Node",
"version": "0.113"
}
}
facebook.js:180 fbPostLink: response == {
"id": "270259793181433_279024352304977"
}
facebook.js:182 fbPostLink: dataAboutPost == {
"id": "270259793181433_279024352304977",
"from": {
"id": "270259793181433",
"name": "Dave Winer"
},
"message": "\"I never used the Blackberry again.\"",
"actions": [
{
"name": "Comment",
"link": "https://www.facebook.com/270259793181433/posts/279024352304977"
}
],
"privacy": {
"value": ""
},
"type": "status",
"status_type": "mobile_status_update",
"application": {
"name": "Radio3",
"id": "1518911544987293"
},
"created_time": "2014-09-19T12:20:23+0000",
"updated_time": "2014-09-19T12:20:23+0000"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment