Skip to content

Instantly share code, notes, and snippets.

@takke
Created June 19, 2014 05:11
Show Gist options
  • Save takke/2ffc42d8fb68f775db5d to your computer and use it in GitHub Desktop.
Save takke/2ffc42d8fb68f775db5d to your computer and use it in GitHub Desktop.
twitter gif
takke@tm-nuc:~$ twurl "/1.1/statuses/show.json?id=479307198901026816" | php -R 'print_r(json_decode($argn));'
stdClass Object
(
[created_at] => Wed Jun 18 16:58:35 +0000 2014
[id] => 479307198901026816
[id_str] => 479307198901026816
[text] => Starting today, you can share and view animated GIFs on http://t.co/wJD8Fp317i, Android and iPhone. http://t.co/XBrAbOm4Ya
[source] => <a href="http://twitter.com" rel="nofollow">Twitter Web Client</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] => 17874544
[id_str] => 17874544
[name] => Twitter Support
[screen_name] => Support
[location] => Twitter HQ
[description] => Helping you get the most out of Twitter.
[url] => http://t.co/Vk1NkwU8qP
[entities] => stdClass Object
(
[url] => stdClass Object
(
[urls] => Array
(
[0] => stdClass Object
(
[url] => http://t.co/Vk1NkwU8qP
[expanded_url] => http://support.twitter.com
[display_url] => support.twitter.com
[indices] => Array
(
[0] => 0
[1] => 22
)
)
)
)
[description] => stdClass Object
(
[urls] => Array
(
)
)
)
[protected] =>
[followers_count] => 2942135
[friends_count] => 1494
[listed_count] => 13005
[created_at] => Thu Dec 04 18:51:57 +0000 2008
[favourites_count] => 50
[utc_offset] => -28800
[time_zone] => Alaska
[geo_enabled] => 1
[verified] => 1
[statuses_count] => 2531
[lang] => en
[contributors_enabled] =>
[is_translator] =>
[is_translation_enabled] =>
[profile_background_color] => C0DEED
[profile_background_image_url] => http://pbs.twimg.com/profile_background_images/656929496/y6jd4l68p18hrm52f0ez.png
[profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/656929496/y6jd4l68p18hrm52f0ez.png
[profile_background_tile] => 1
[profile_image_url] => http://pbs.twimg.com/profile_images/2320882833/2whv6cuhvbal751uss8u_normal.png
[profile_image_url_https] => https://pbs.twimg.com/profile_images/2320882833/2whv6cuhvbal751uss8u_normal.png
[profile_banner_url] => https://pbs.twimg.com/profile_banners/17874544/1347394418
[profile_link_color] => 0084B4
[profile_sidebar_border_color] => C0DEED
[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] => 5983
[favorite_count] => 2026
[entities] => stdClass Object
(
[hashtags] => Array
(
)
[symbols] => Array
(
)
[urls] => Array
(
[0] => stdClass Object
(
[url] => http://t.co/wJD8Fp317i
[expanded_url] => http://Twitter.com
[display_url] => Twitter.com
[indices] => Array
(
[0] => 56
[1] => 78
)
)
[1] => stdClass Object
(
[url] => http://t.co/XBrAbOm4Ya
[expanded_url] => http://twitter.com/Support/status/479307198901026816/photo/1
[display_url] => pic.twitter.com/XBrAbOm4Ya
[indices] => Array
(
[0] => 100
[1] => 122
)
)
)
[user_mentions] => Array
(
)
)
[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