Skip to content

Instantly share code, notes, and snippets.

@bkerley
Created July 5, 2013 18:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bkerley/5936381 to your computer and use it in GitHub Desktop.
Save bkerley/5936381 to your computer and use it in GitHub Desktop.
curl --get 'https://api.twitter.com/1.1/statuses/show.json' --data 'id=353218566180442112' --header 'Authorization: OAuth oauth_consumer_key="DCtwdGNS38Sr9JNXwS53cQ", oauth_nonce="87c91da7f4d6d61ec9d81fd0fb7c7980", oauth_signature="%2FD09dk9pNQ4uj3szTpYWThetfc8%3D", oauth_signature_method="HMAC-SHA1", oauth_timestamp="1373049118", oauth_token="7865582-sVflpbIO5WH1IDf2oSWlUFIfhNsRMq1aZQivXB3gI0", oauth_version="1.0"' | python -mjson.tool
{
"contributors": null,
"coordinates": null,
"created_at": "Fri Jul 05 18:27:23 +0000 2013",
"entities": {
"hashtags": [],
"symbols": [],
"urls": [
{
"display_url": "youtube.com/watch?v=csyL9E\u2026",
"expanded_url": "http://www.youtube.com/watch?v=csyL9EC0S0c",
"indices": [
38,
60
],
"url": "http://t.co/8sZnjdgmao"
}
],
"user_mentions": []
},
"favorite_count": 0,
"favorited": false,
"geo": null,
"id": 353218566180442112,
"id_str": "353218566180442112",
"in_reply_to_screen_name": null,
"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,
"lang": "en",
"place": null,
"possibly_sensitive": false,
"retweet_count": 0,
"retweeted": false,
"source": "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>",
"text": "my talk got 100k views, I'm dead smug http://t.co/8sZnjdgmao",
"truncated": false,
"user": {
"contributors_enabled": false,
"created_at": "Fri Oct 10 09:24:52 +0000 2008",
"default_profile": false,
"default_profile_image": false,
"description": "troublemaker, bad programmer,\r\nunderachieving smart-arse",
"entities": {
"description": {
"urls": []
},
"url": {
"urls": [
{
"display_url": "programmingisterrible.com",
"expanded_url": "http://programmingisterrible.com/",
"indices": [
0,
20
],
"url": "http://t.co/wM5WwH94"
}
]
}
},
"favourites_count": 109,
"follow_request_sent": false,
"followers_count": 1312,
"following": true,
"friends_count": 515,
"geo_enabled": true,
"id": 16681276,
"id_str": "16681276",
"is_translator": false,
"lang": "en",
"listed_count": 57,
"location": "Edinburgh",
"name": "tef",
"notifications": null,
"profile_background_color": "131516",
"profile_background_image_url": "http://a0.twimg.com/images/themes/theme14/bg.gif",
"profile_background_image_url_https": "https://si0.twimg.com/images/themes/theme14/bg.gif",
"profile_background_tile": false,
"profile_banner_url": "https://pbs.twimg.com/profile_banners/16681276/1364237345",
"profile_image_url": "http://a0.twimg.com/profile_images/344513261583569696/4369b741eabc5d292c8d14910ed16ef2_normal.jpeg",
"profile_image_url_https": "https://si0.twimg.com/profile_images/344513261583569696/4369b741eabc5d292c8d14910ed16ef2_normal.jpeg",
"profile_link_color": "009999",
"profile_sidebar_border_color": "EEEEEE",
"profile_sidebar_fill_color": "EFEFEF",
"profile_text_color": "333333",
"profile_use_background_image": false,
"protected": false,
"screen_name": "tef",
"statuses_count": 12425,
"time_zone": "Edinburgh",
"url": "http://t.co/wM5WwH94",
"utc_offset": 0,
"verified": false
}
}
@jrwest
Copy link

jrwest commented Jul 12, 2013

a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment