Skip to content

Instantly share code, notes, and snippets.

@tsutsui
Created July 28, 2018 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsutsui/a2abed9f8a5e14b0402ea4b0f2031684 to your computer and use it in GitHub Desktop.
Save tsutsui/a2abed9f8a5e14b0402ea4b0f2031684 to your computer and use it in GitHub Desktop.
{:created_at=>"Sat Jul 28 16:12:59 +0000 2018",
:id=>1023239905994891265,
:id_str=>"1023239905994891265",
:full_text=>
"Tweet test with images https://t.co/o2AGgvFLdZ
" +
"https://t.co/RmbKnS5OUh https://t.co/zxdtI6mjoQ",
:truncated=>false,
:display_text_range=>[0, 70],
:entities=>
{:hashtags=>[],
:symbols=>[],
:user_mentions=>[],
:urls=>
[{:url=>"https://t.co/o2AGgvFLdZ",
:expanded_url=>
"https://gist.github.com/tsutsui/29a729af7b08342b683e14141b01373f",
:display_url=>"gist.github.com/tsutsui/29a729…",
:indices=>[23, 46]},
{:url=>"https://t.co/RmbKnS5OUh",
:expanded_url=>"https://twitter.com/tsutsuii/status/1023228842616315906",
:display_url=>"twitter.com/tsutsuii/statu…",
:indices=>[47, 70]}],
:media=>
[{:id=>1023239903876866048,
:id_str=>"1023239903876866048",
:indices=>[71, 94],
:media_url=>"http://pbs.twimg.com/media/DjNHRW6V4AA44xF.jpg",
:media_url_https=>"https://pbs.twimg.com/media/DjNHRW6V4AA44xF.jpg",
:url=>"https://t.co/zxdtI6mjoQ",
:display_url=>"pic.twitter.com/zxdtI6mjoQ",
:expanded_url=>
"https://twitter.com/tsutsuii/status/1023239905994891265/photo/1",
:type=>"photo",
:sizes=>
{:small=>{:w=>441, :h=>84, :resize=>"fit"},
:medium=>{:w=>441, :h=>84, :resize=>"fit"},
:thumb=>{:w=>84, :h=>84, :resize=>"crop"},
:large=>{:w=>441, :h=>84, :resize=>"fit"}}}]},
:extended_entities=>
{:media=>
[{:id=>1023239903876866048,
:id_str=>"1023239903876866048",
:indices=>[71, 94],
:media_url=>"http://pbs.twimg.com/media/DjNHRW6V4AA44xF.jpg",
:media_url_https=>"https://pbs.twimg.com/media/DjNHRW6V4AA44xF.jpg",
:url=>"https://t.co/zxdtI6mjoQ",
:display_url=>"pic.twitter.com/zxdtI6mjoQ",
:expanded_url=>
"https://twitter.com/tsutsuii/status/1023239905994891265/photo/1",
:type=>"photo",
:sizes=>
{:small=>{:w=>441, :h=>84, :resize=>"fit"},
:medium=>{:w=>441, :h=>84, :resize=>"fit"},
:thumb=>{:w=>84, :h=>84, :resize=>"crop"},
:large=>{:w=>441, :h=>84, :resize=>"fit"}}},
{:id=>1023239903537053696,
:id_str=>"1023239903537053696",
:indices=>[71, 94],
:media_url=>"http://pbs.twimg.com/media/DjNHRVpUwAArkqS.jpg",
:media_url_https=>"https://pbs.twimg.com/media/DjNHRVpUwAArkqS.jpg",
:url=>"https://t.co/zxdtI6mjoQ",
:display_url=>"pic.twitter.com/zxdtI6mjoQ",
:expanded_url=>
"https://twitter.com/tsutsuii/status/1023239905994891265/photo/1",
:type=>"photo",
:sizes=>
{:medium=>{:w=>581, :h=>245, :resize=>"fit"},
:thumb=>{:w=>150, :h=>150, :resize=>"crop"},
:large=>{:w=>581, :h=>245, :resize=>"fit"},
:small=>{:w=>581, :h=>245, :resize=>"fit"}}}]},
:source=>"mikutter alternative",
:in_reply_to_status_id=>1023228842616315906,
:in_reply_to_status_id_str=>"1023228842616315906",
:in_reply_to_user_id=>91704555,
:in_reply_to_user_id_str=>"91704555",
:in_reply_to_screen_name=>"tsutsuii",
:user=>TwitterUser(@tsutsuii),
:geo=>nil,
:coordinates=>nil,
:place=>nil,
:contributors=>nil,
:is_quote_status=>true,
:quoted_status_id=>1023228842616315906,
:quoted_status_id_str=>"1023228842616315906",
:quoted_status_permalink=>
{:url=>"https://t.co/RmbKnS5OUh",
:expanded=>"https://twitter.com/tsutsuii/status/1023228842616315906",
:display=>"twitter.com/tsutsuii/statu…"},
:quoted_status=>
{:created_at=>"Sat Jul 28 15:29:01 +0000 2018",
:id=>1023228842616315906,
:id_str=>"1023228842616315906",
:full_text=>
"It seems Twitter has changed userstream response. A URL of a quoted tweet is no longer included in "full_text" in userstream response (though "full_text" in the REST response includes it) https://t.co/7WFnPJwEQ9",
:truncated=>false,
:display_text_range=>[0, 187],
:entities=>
{:hashtags=>[],
:symbols=>[],
:user_mentions=>[],
:urls=>
[{:url=>"https://t.co/7WFnPJwEQ9",
:expanded_url=>
"https://twitter.com/tsutsuii/status/1023222228911976448",
:display_url=>"twitter.com/tsutsuii/statu…",
:indices=>[188, 211]}]},
:source=>
"<a href="https://dev.mikutter.hachune.net/projects/mikutter/" rel="nofollow">mikutter alternative</a>",
:in_reply_to_status_id=>nil,
:in_reply_to_status_id_str=>nil,
:in_reply_to_user_id=>nil,
:in_reply_to_user_id_str=>nil,
:in_reply_to_screen_name=>nil,
:user=>
{:id=>91704555,
:id_str=>"91704555",
:name=>"Izumi Tsutsui",
:screen_name=>"tsutsuii",
:location=>"",
:description=>"NetBSDネタがメインですがところによりておくれです",
:url=>"http://t.co/hCsiDL3pg1",
:entities=>
{:url=>
{:urls=>
[{:url=>"http://t.co/hCsiDL3pg1",
:expanded_url=>"http://www.ceres.dti.ne.jp/tsutsui/NetBSD.html",
:display_url=>"ceres.dti.ne.jp/tsutsui/NetBSD…",
:indices=>[0, 22]}]},
:description=>{:urls=>[]}},
:protected=>false,
:followers_count=>1149,
:friends_count=>87,
:listed_count=>106,
:created_at=>"Sun Nov 22 02:28:19 +0000 2009",
:favourites_count=>21582,
:utc_offset=>nil,
:time_zone=>nil,
:geo_enabled=>false,
:verified=>false,
:statuses_count=>93258,
:lang=>"ja",
:contributors_enabled=>false,
:is_translator=>false,
:is_translation_enabled=>false,
:profile_background_color=>"C0DEED",
:profile_background_image_url=>
"http://abs.twimg.com/images/themes/theme1/bg.png",
:profile_background_image_url_https=>
"https://abs.twimg.com/images/themes/theme1/bg.png",
:profile_background_tile=>false,
:profile_image_url=>
"http://pbs.twimg.com/profile_images/602394238/ram2_normal.PNG",
:profile_image_url_https=>
"https://pbs.twimg.com/profile_images/602394238/ram2_normal.PNG",
:profile_banner_url=>
"https://pbs.twimg.com/profile_banners/91704555/1359209490",
:profile_link_color=>"1DA1F2",
:profile_sidebar_border_color=>"C0DEED",
:profile_sidebar_fill_color=>"DDEEF6",
:profile_text_color=>"333333",
:profile_use_background_image=>true,
:has_extended_profile=>false,
:default_profile=>true,
:default_profile_image=>false,
:following=>false,
:follow_request_sent=>false,
:notifications=>false,
:translator_type=>"regular"},
:geo=>nil,
:coordinates=>nil,
:place=>nil,
:contributors=>nil,
:is_quote_status=>true,
:quoted_status_id=>1023222228911976448,
:quoted_status_id_str=>"1023222228911976448",
:quoted_status_permalink=>
{:url=>"https://t.co/7WFnPJwEQ9",
:expanded=>"https://twitter.com/tsutsuii/status/1023222228911976448",
:display=>"twitter.com/tsutsuii/statu…"},
:retweet_count=>0,
:favorite_count=>0,
:favorited=>false,
:retweeted=>false,
:possibly_sensitive=>false,
:lang=>"en"},
:retweet_count=>0,
:favorite_count=>0,
:favorited=>false,
:retweeted=>false,
:possibly_sensitive=>false,
:lang=>"en",
:message=>
"Tweet test with images https://t.co/o2AGgvFLdZ
" +
"https://t.co/RmbKnS5OUh https://t.co/zxdtI6mjoQ",
:created=>2018-07-29 01:12:59 +0900,
:exact=>false,
:receiver=>nil,
:replyto=>nil,
:retweet=>nil,
:modified=>2018-07-29 01:12:59 +0900}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment