Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
複数画像が含まれた tweet を https://api.twitter.com/1.1/statuses/show.json で取得した際のレスポンス
{"created_at":"Sun Feb 22 00:27:31 +0000 2015","id":569292363937349633,"id_str":"569292363937349633","text":"#\u6771\u4eac\u30de\u30e9\u30bd\u30f3 \u304c\u30b9\u30bf\u30fc\u30c8\uff01\n@Tokyo42195_org \u304b\u3089\u5927\u4f1a\u306e\u69d8\u5b50\u304c\u30c4\u30a4\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u3059\u3002\nRT @tokyo42195_org: \u8eca\u3044\u3059\u306b\u7d9a\u304d\u3001\u30de\u30e9\u30bd\u30f3\u30fb10km\u3082\u30b9\u30bf\u30fc\u30c8\u3057\u307e\u3057\u305f\u3002\u30d5\u30b8\u30c6\u30ec\u30d3\u7cfb\u5168\u56fd\u30cd\u30c3\u30c8\u3067\u653e\u9001\u4e2d\u3067\u3059\u3002 http:\/\/t.co\/LoEKszyJ2e","source":"\u003ca href=\"https:\/\/about.twitter.com\/products\/tweetdeck\" rel=\"nofollow\"\u003eTweetDeck\u003c\/a\u003e","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":1159274324,"id_str":"1159274324","name":"Twitter Sports Japan","screen_name":"TwitterSportsJP","location":"Tokyo, JAPAN","profile_location":null,"description":"Twitter Sports Japan \u516c\u5f0f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u3059\u3002\u9078\u624b\u3084\u30c1\u30fc\u30e0\u306e\u30ea\u30b9\u30c8\u306f\u3053\u3061\u3089\u304b\u3089\u3002https:\/\/twitter.com\/TwitterSportsJP\/lists\nTokyo, JAPAN","url":"https:\/\/t.co\/QjOgMnzmxL","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/QjOgMnzmxL","expanded_url":"https:\/\/blog.twitter.com\/ja\/media","display_url":"blog.twitter.com\/ja\/media","indices":[0,23]}]},"description":{"urls":[]}},"protected":false,"followers_count":24875,"friends_count":364,"listed_count":275,"created_at":"Fri Feb 08 05:54:29 +0000 2013","favourites_count":293,"utc_offset":32400,"time_zone":"Irkutsk","geo_enabled":false,"verified":true,"statuses_count":1751,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"131516","profile_background_image_url":"http:\/\/abs.twimg.com\/images\/themes\/theme14\/bg.gif","profile_background_image_url_https":"https:\/\/abs.twimg.com\/images\/themes\/theme14\/bg.gif","profile_background_tile":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/422903820658552833\/-QfUQWGG_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/422903820658552833\/-QfUQWGG_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1159274324\/1397006603","profile_link_color":"009999","profile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_color":"EFEFEF","profile_text_color":"333333","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":23,"favorite_count":9,"entities":{"hashtags":[{"text":"\u6771\u4eac\u30de\u30e9\u30bd\u30f3","indices":[0,7]}],"symbols":[],"user_mentions":[{"screen_name":"tokyo42195_org","name":"\u6771\u4eac\u30de\u30e9\u30bd\u30f3\u8ca1\u56e3","id":307695688,"id_str":"307695688","indices":[15,30]},{"screen_name":"tokyo42195_org","name":"\u6771\u4eac\u30de\u30e9\u30bd\u30f3\u8ca1\u56e3","id":307695688,"id_str":"307695688","indices":[54,69]}],"urls":[],"media":[{"id":569291686409289728,"id_str":"569291686409289728","indices":[116,138],"media_url":"http:\/\/pbs.twimg.com\/media\/B-aHxcYCQAAM3Gn.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/B-aHxcYCQAAM3Gn.jpg","url":"http:\/\/t.co\/LoEKszyJ2e","display_url":"pic.twitter.com\/LoEKszyJ2e","expanded_url":"http:\/\/twitter.com\/tokyo42195_org\/status\/569291692056014848\/photo\/1","type":"photo","sizes":{"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":600,"h":450,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":1024,"h":768,"resize":"fit"}},"source_status_id":569291692056014848,"source_status_id_str":"569291692056014848","source_user_id":307695688,"source_user_id_str":"307695688"}]},"extended_entities":{"media":[{"id":569291686409289728,"id_str":"569291686409289728","indices":[116,138],"media_url":"http:\/\/pbs.twimg.com\/media\/B-aHxcYCQAAM3Gn.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/B-aHxcYCQAAM3Gn.jpg","url":"http:\/\/t.co\/LoEKszyJ2e","display_url":"pic.twitter.com\/LoEKszyJ2e","expanded_url":"http:\/\/twitter.com\/tokyo42195_org\/status\/569291692056014848\/photo\/1","type":"photo","sizes":{"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":600,"h":450,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":1024,"h":768,"resize":"fit"}},"source_status_id":569291692056014848,"source_status_id_str":"569291692056014848","source_user_id":307695688,"source_user_id_str":"307695688"},{"id":569291690964295680,"id_str":"569291690964295680","indices":[116,138],"media_url":"http:\/\/pbs.twimg.com\/media\/B-aHxtWCIAASPVC.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/B-aHxtWCIAASPVC.jpg","url":"http:\/\/t.co\/LoEKszyJ2e","display_url":"pic.twitter.com\/LoEKszyJ2e","expanded_url":"http:\/\/twitter.com\/tokyo42195_org\/status\/569291692056014848\/photo\/1","type":"photo","sizes":{"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":600,"h":450,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":1024,"h":768,"resize":"fit"}},"source_status_id":569291692056014848,"source_status_id_str":"569291692056014848","source_user_id":307695688,"source_user_id_str":"307695688"},{"id":569291686346358784,"id_str":"569291686346358784","indices":[116,138],"media_url":"http:\/\/pbs.twimg.com\/media\/B-aHxcJCAAAymLD.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/B-aHxcJCAAAymLD.jpg","url":"http:\/\/t.co\/LoEKszyJ2e","display_url":"pic.twitter.com\/LoEKszyJ2e","expanded_url":"http:\/\/twitter.com\/tokyo42195_org\/status\/569291692056014848\/photo\/1","type":"photo","sizes":{"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":600,"h":450,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":1024,"h":768,"resize":"fit"}},"source_status_id":569291692056014848,"source_status_id_str":"569291692056014848","source_user_id":307695688,"source_user_id_str":"307695688"},{"id":569291669627871232,"id_str":"569291669627871232","indices":[116,138],"media_url":"http:\/\/pbs.twimg.com\/media\/B-aHwd3CIAAPwjP.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/B-aHwd3CIAAPwjP.jpg","url":"http:\/\/t.co\/LoEKszyJ2e","display_url":"pic.twitter.com\/LoEKszyJ2e","expanded_url":"http:\/\/twitter.com\/tokyo42195_org\/status\/569291692056014848\/photo\/1","type":"photo","sizes":{"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":600,"h":450,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"large":{"w":1024,"h":768,"resize":"fit"}},"source_status_id":569291692056014848,"source_status_id_str":"569291692056014848","source_user_id":307695688,"source_user_id_str":"307695688"}]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"lang":"ja"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.