Skip to content

Instantly share code, notes, and snippets.

@takke
Last active August 29, 2015 14:02
Show Gist options
  • Save takke/e6fd95542c6d3ea913e5 to your computer and use it in GitHub Desktop.
Save takke/e6fd95542c6d3ea913e5 to your computer and use it in GitHub Desktop.
extended_entities
takke@tm-nuc:~$ twurl "/1.1/statuses/show.json?id=449660889793581056" | php -R 'print_r(json_decode($argn));'
stdClass Object
(
[created_at] => Fri Mar 28 21:34:45 +0000 2014
[id] => 449660889793581056
[id_str] => 449660889793581056
[text] => "I hope you'll keep...building bonds of friendship that will enrich your lives & enrich our world" ―FLOTUS in China, http://t.co/fxmuQN9JL9
[source] => <a href="http://twitter.com/download/iphone" rel="nofollow">Twitter for iPhone</a>
[truncated] =>
[in_reply_to_status_id] =>
[in_reply_to_status_id_str] =>
[in_reply_to_user_id] =>
[in_reply_to_user_id_str] =>
[in_reply_to_screen_name] =>
[user] => stdClass Object
(
[id] => 1093090866
[id_str] => 1093090866
[name] => The First Lady
[screen_name] => FLOTUS
[location] => Washington, DC
[description] => This account is run by the Office of First Lady Michelle Obama. Tweets from the First Lady are signed ?mo. Tweets may be archived. More at http://t.co/9DxP65hB
[url] => http://t.co/RvRZspIO8c
[entities] => stdClass Object
(
[url] => stdClass Object
(
[urls] => Array
(
[0] => stdClass Object
(
[url] => http://t.co/RvRZspIO8c
[expanded_url] => http://www.whitehouse.gov
[display_url] => whitehouse.gov
[indices] => Array
(
[0] => 0
[1] => 22
)
)
)
)
[description] => stdClass Object
(
[urls] => Array
(
[0] => stdClass Object
(
[url] => http://t.co/9DxP65hB
[expanded_url] => http://wh.gov/privacy
[display_url] => wh.gov/privacy
[indices] => Array
(
[0] => 139
[1] => 159
)
)
)
)
)
[protected] =>
[followers_count] => 924210
[friends_count] => 21
[listed_count] => 5548
[created_at] => Tue Jan 15 20:03:17 +0000 2013
[favourites_count] => 1
[utc_offset] => -14400
[time_zone] => Eastern Time (US & Canada)
[geo_enabled] =>
[verified] => 1
[statuses_count] => 883
[lang] => en
[contributors_enabled] =>
[is_translator] =>
[is_translation_enabled] =>
[profile_background_color] => 0084B4
[profile_background_image_url] => http://pbs.twimg.com/profile_background_images/766168824/6d7e9bac6f5904ab0843bd1e9d935695.jpeg
[profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/766168824/6d7e9bac6f5904ab0843bd1e9d935695.jpeg
[profile_background_tile] =>
[profile_image_url] => http://pbs.twimg.com/profile_images/453354757499781120/WsSISQK__normal.jpeg
[profile_image_url_https] => https://pbs.twimg.com/profile_images/453354757499781120/WsSISQK__normal.jpeg
[profile_banner_url] => https://pbs.twimg.com/profile_banners/1093090866/1396923217
[profile_link_color] => 0084B4
[profile_sidebar_border_color] => FFFFFF
[profile_sidebar_fill_color] => DDEEF6
[profile_text_color] => 333333
[profile_use_background_image] => 1
[default_profile] =>
[default_profile_image] =>
[following] =>
[follow_request_sent] =>
[notifications] =>
)
[geo] =>
[coordinates] =>
[place] =>
[contributors] =>
[retweet_count] => 223
[favorite_count] => 307
[entities] => stdClass Object
(
[hashtags] => Array
(
)
[symbols] => Array
(
)
[urls] => Array
(
)
[user_mentions] => Array
(
)
[media] => Array
(
[0] => stdClass Object
(
[id] => 449660809380380673
[id_str] => 449660809380380673
[indices] => Array
(
[0] => 121
[1] => 143
)
[media_url] => http://pbs.twimg.com/media/Bj2EH6yIQAEYvxu.jpg
[media_url_https] => https://pbs.twimg.com/media/Bj2EH6yIQAEYvxu.jpg
[url] => http://t.co/fxmuQN9JL9
[display_url] => pic.twitter.com/fxmuQN9JL9
[expanded_url] => http://twitter.com/FLOTUS/status/449660889793581056/photo/1
[type] => photo
[sizes] => stdClass Object
(
[medium] => stdClass Object
(
[w] => 600
[h] => 399
[resize] => fit
)
[thumb] => stdClass Object
(
[w] => 150
[h] => 150
[resize] => crop
)
[large] => stdClass Object
(
[w] => 640
[h] => 426
[resize] => fit
)
[small] => stdClass Object
(
[w] => 340
[h] => 226
[resize] => fit
)
)
)
)
)
[extended_entities] => stdClass Object
(
[media] => Array
(
[0] => stdClass Object
(
[id] => 449660809380380673
[id_str] => 449660809380380673
[indices] => Array
(
[0] => 121
[1] => 143
)
[media_url] => http://pbs.twimg.com/media/Bj2EH6yIQAEYvxu.jpg
[media_url_https] => https://pbs.twimg.com/media/Bj2EH6yIQAEYvxu.jpg
[url] => http://t.co/fxmuQN9JL9
[display_url] => pic.twitter.com/fxmuQN9JL9
[expanded_url] => http://twitter.com/FLOTUS/status/449660889793581056/photo/1
[type] => photo
[sizes] => stdClass Object
(
[medium] => stdClass Object
(
[w] => 600
[h] => 399
[resize] => fit
)
[thumb] => stdClass Object
(
[w] => 150
[h] => 150
[resize] => crop
)
[large] => stdClass Object
(
[w] => 640
[h] => 426
[resize] => fit
)
[small] => stdClass Object
(
[w] => 340
[h] => 226
[resize] => fit
)
)
)
[1] => stdClass Object
(
[id] => 449660806754738177
[id_str] => 449660806754738177
[indices] => Array
(
[0] => 121
[1] => 143
)
[media_url] => http://pbs.twimg.com/media/Bj2EHxAIIAE8dtg.jpg
[media_url_https] => https://pbs.twimg.com/media/Bj2EHxAIIAE8dtg.jpg
[url] => http://t.co/fxmuQN9JL9
[display_url] => pic.twitter.com/fxmuQN9JL9
[expanded_url] => http://twitter.com/FLOTUS/status/449660889793581056/photo/1
[type] => photo
[sizes] => stdClass Object
(
[medium] => stdClass Object
(
[w] => 600
[h] => 399
[resize] => fit
)
[thumb] => stdClass Object
(
[w] => 150
[h] => 150
[resize] => crop
)
[large] => stdClass Object
(
[w] => 640
[h] => 426
[resize] => fit
)
[small] => stdClass Object
(
[w] => 340
[h] => 226
[resize] => fit
)
)
)
[2] => stdClass Object
(
[id] => 449660808537333761
[id_str] => 449660808537333761
[indices] => Array
(
[0] => 121
[1] => 143
)
[media_url] => http://pbs.twimg.com/media/Bj2EH3pIYAE4LQn.jpg
[media_url_https] => https://pbs.twimg.com/media/Bj2EH3pIYAE4LQn.jpg
[url] => http://t.co/fxmuQN9JL9
[display_url] => pic.twitter.com/fxmuQN9JL9
[expanded_url] => http://twitter.com/FLOTUS/status/449660889793581056/photo/1
[type] => photo
[sizes] => stdClass Object
(
[small] => stdClass Object
(
[w] => 340
[h] => 227
[resize] => fit
)
[thumb] => stdClass Object
(
[w] => 150
[h] => 150
[resize] => crop
)
[large] => stdClass Object
(
[w] => 640
[h] => 427
[resize] => fit
)
[medium] => stdClass Object
(
[w] => 600
[h] => 400
[resize] => fit
)
)
)
[3] => stdClass Object
(
[id] => 449660877097406464
[id_str] => 449660877097406464
[indices] => Array
(
[0] => 121
[1] => 143
)
[media_url] => http://pbs.twimg.com/media/Bj2EL3DIEAAzGAX.jpg
[media_url_https] => https://pbs.twimg.com/media/Bj2EL3DIEAAzGAX.jpg
[url] => http://t.co/fxmuQN9JL9
[display_url] => pic.twitter.com/fxmuQN9JL9
[expanded_url] => http://twitter.com/FLOTUS/status/449660889793581056/photo/1
[type] => photo
[sizes] => stdClass Object
(
[medium] => stdClass Object
(
[w] => 600
[h] => 399
[resize] => fit
)
[thumb] => stdClass Object
(
[w] => 150
[h] => 150
[resize] => crop
)
[large] => stdClass Object
(
[w] => 640
[h] => 426
[resize] => fit
)
[small] => stdClass Object
(
[w] => 340
[h] => 226
[resize] => fit
)
)
)
)
)
[favorited] =>
[retweeted] =>
[possibly_sensitive] =>
[lang] => en
)
takke@tm-nuc:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment