SYNCER

SYNCER

Tweet Object(ツイートオブジェクト)の説明

0件

公開日:

ツイートオブジェクトは、個々のツイートに関する情報を含むオブジェクトです。

JSONの例

ツイートの種類によって含まれるプロパティが違うのでご注意下さい。

通常

ツイートオブジェクトの例です。このツイートを取得しました。

JSON

{"created_at":"Sun Jan 29 08:56:00 +0000 2017","id":825628550799593473,"id_str":"825628550799593473","text":"\u3053\u308c\u306f\u3001\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u3002\n\nhttps:\/\/t.co\/DZGyOVnHYM\n#\u30cf\u30c3\u30b7\u30e5\u30bf\u30b0\n$Symbol\n@Twitter https:\/\/t.co\/MN6CSArGuF","truncated":false,"entities":{"hashtags":[{"text":"\u30cf\u30c3\u30b7\u30e5\u30bf\u30b0","indices":[37,44]}],"symbols":[{"text":"Symbol","indices":[45,52]}],"user_mentions":[{"screen_name":"Twitter","name":"Twitter","id":783214,"id_str":"783214","indices":[53,61]}],"urls":[{"url":"https:\/\/t.co\/DZGyOVnHYM","expanded_url":"https:\/\/syncer.jp","display_url":"syncer.jp","indices":[13,36]}],"media":[{"id":825628201758052352,"id_str":"825628201758052352","indices":[62,85],"media_url":"http:\/\/pbs.twimg.com\/media\/C3U4eaJVUAAC50R.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/C3U4eaJVUAAC50R.jpg","url":"https:\/\/t.co\/MN6CSArGuF","display_url":"pic.twitter.com\/MN6CSArGuF","expanded_url":"https:\/\/twitter.com\/arayutw\/status\/825628550799593473\/photo\/1","type":"photo","sizes":{"small":{"w":400,"h":225,"resize":"fit"},"large":{"w":400,"h":225,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":400,"h":225,"resize":"fit"}}}]},"extended_entities":{"media":[{"id":825628201758052352,"id_str":"825628201758052352","indices":[62,85],"media_url":"http:\/\/pbs.twimg.com\/media\/C3U4eaJVUAAC50R.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/C3U4eaJVUAAC50R.jpg","url":"https:\/\/t.co\/MN6CSArGuF","display_url":"pic.twitter.com\/MN6CSArGuF","expanded_url":"https:\/\/twitter.com\/arayutw\/status\/825628550799593473\/photo\/1","type":"photo","sizes":{"small":{"w":400,"h":225,"resize":"fit"},"large":{"w":400,"h":225,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":400,"h":225,"resize":"fit"}}},{"id":825628250898460672,"id_str":"825628250898460672","indices":[62,85],"media_url":"http:\/\/pbs.twimg.com\/media\/C3U4hRNUcAApOu_.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/C3U4hRNUcAApOu_.jpg","url":"https:\/\/t.co\/MN6CSArGuF","display_url":"pic.twitter.com\/MN6CSArGuF","expanded_url":"https:\/\/twitter.com\/arayutw\/status\/825628550799593473\/photo\/1","type":"photo","sizes":{"small":{"w":400,"h":225,"resize":"fit"},"large":{"w":400,"h":225,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":400,"h":225,"resize":"fit"}}}]},"source":"\u003ca href=\"http:\/\/twitter.com\" rel=\"nofollow\"\u003eTwitter Web Client\u003c\/a\u003e","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":1528352858,"id_str":"1528352858","name":"\u3042\u3089\u3086","screen_name":"arayutw","location":"\u65e5\u672c \u6771\u4eac","description":"SYNCER\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u63b2\u793a\u677f\u2192 https:\/\/t.co\/OAIDbACF3N","url":"https:\/\/t.co\/lW3GYq8sQl","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/lW3GYq8sQl","expanded_url":"https:\/\/syncer.jp\/","display_url":"syncer.jp","indices":[0,23]}]},"description":{"urls":[{"url":"https:\/\/t.co\/OAIDbACF3N","expanded_url":"https:\/\/forum.syncer.jp\/","display_url":"forum.syncer.jp","indices":[26,49]}]}},"protected":false,"followers_count":1422,"friends_count":565,"listed_count":113,"created_at":"Tue Jun 18 17:28:51 +0000 2013","favourites_count":4462,"utc_offset":32400,"time_zone":"Asia\/Tokyo","geo_enabled":true,"verified":false,"statuses_count":35287,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":true,"profile_background_color":"2660A1","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1528352858\/1484800383","profile_link_color":"D36015","profile_sidebar_border_color":"F2E195","profile_sidebar_fill_color":"FFF7CC","profile_text_color":"0C3E53","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"regular"},"geo":null,"coordinates":null,"place":{"id":"06ef846bfc783874","url":"https:\/\/api.twitter.com\/1.1\/geo\/id\/06ef846bfc783874.json","place_type":"country","name":"\u65e5\u672c","full_name":"\u65e5\u672c","country_code":"JP","country":"\u65e5\u672c","contained_within":[],"bounding_box":{"type":"Polygon","coordinates":[[[122.9040343,24.0133434],[153.9976966,24.0133434],[153.9976966,45.562897],[122.9040343,45.562897]]]},"attributes":{}},"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":1,"favorited":false,"retweeted":false,"possibly_sensitive":false,"possibly_sensitive_appealable":false,"lang":"ja"}

公式リツイート

ツイートが公式リツイートの場合、retweeted_statusに元のツイートの情報が追加されます。分かりづらいですが、あるツイートAをリツイートした場合、元のツイートAと、リツイートしたユーザーのタイムラインに転載されるツイートBには違うツイートIDが割り振られています。これは、ツイートBを取得した時のケースです。このツイートを取得しました。

JSON

{"created_at":"Sun Jan 29 11:42:23 +0000 2017","id":825670422670618626,"id_str":"825670422670618626","text":"RT @arayutw: \u30ea\u30c4\u30a4\u30fc\u30c8\u7528\u306e\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u3002\n\u3053\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u597d\u304d\u306a\u3060\u3051\u30ea\u30c4\u30a4\u30fc\u30c8\u3057\u3066\u4e0b\u3055\u3044\u3002","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[{"screen_name":"arayutw","name":"\u3042\u3089\u3086","id":1528352858,"id_str":"1528352858","indices":[3,11]}],"urls":[]},"source":"\u003ca href=\"https:\/\/syncer.jp\/\" rel=\"nofollow\"\u003eSYNCER APPS WRITE\u003c\/a\u003e","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":1528352858,"id_str":"1528352858","name":"\u3042\u3089\u3086","screen_name":"arayutw","location":"\u65e5\u672c \u6771\u4eac","description":"SYNCER\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u63b2\u793a\u677f\u2192 https:\/\/t.co\/OAIDbACF3N","url":"https:\/\/t.co\/lW3GYq8sQl","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/lW3GYq8sQl","expanded_url":"https:\/\/syncer.jp\/","display_url":"syncer.jp","indices":[0,23]}]},"description":{"urls":[{"url":"https:\/\/t.co\/OAIDbACF3N","expanded_url":"https:\/\/forum.syncer.jp\/","display_url":"forum.syncer.jp","indices":[26,49]}]}},"protected":false,"followers_count":1422,"friends_count":565,"listed_count":113,"created_at":"Tue Jun 18 17:28:51 +0000 2013","favourites_count":4462,"utc_offset":32400,"time_zone":"Asia\/Tokyo","geo_enabled":true,"verified":false,"statuses_count":35290,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":true,"profile_background_color":"2660A1","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1528352858\/1484800383","profile_link_color":"D36015","profile_sidebar_border_color":"F2E195","profile_sidebar_fill_color":"FFF7CC","profile_text_color":"0C3E53","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"regular"},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"created_at":"Sat May 16 17:16:24 +0000 2015","id":599624452280754178,"id_str":"599624452280754178","text":"\u30ea\u30c4\u30a4\u30fc\u30c8\u7528\u306e\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u3002\n\u3053\u306e\u30c4\u30a4\u30fc\u30c8\u3092\u597d\u304d\u306a\u3060\u3051\u30ea\u30c4\u30a4\u30fc\u30c8\u3057\u3066\u4e0b\u3055\u3044\u3002","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\u003ca href=\"http:\/\/twitter.com\" rel=\"nofollow\"\u003eTwitter Web Client\u003c\/a\u003e","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":1528352858,"id_str":"1528352858","name":"\u3042\u3089\u3086","screen_name":"arayutw","location":"\u65e5\u672c \u6771\u4eac","description":"SYNCER\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u63b2\u793a\u677f\u2192 https:\/\/t.co\/OAIDbACF3N","url":"https:\/\/t.co\/lW3GYq8sQl","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/lW3GYq8sQl","expanded_url":"https:\/\/syncer.jp\/","display_url":"syncer.jp","indices":[0,23]}]},"description":{"urls":[{"url":"https:\/\/t.co\/OAIDbACF3N","expanded_url":"https:\/\/forum.syncer.jp\/","display_url":"forum.syncer.jp","indices":[26,49]}]}},"protected":false,"followers_count":1422,"friends_count":565,"listed_count":113,"created_at":"Tue Jun 18 17:28:51 +0000 2013","favourites_count":4462,"utc_offset":32400,"time_zone":"Asia\/Tokyo","geo_enabled":true,"verified":false,"statuses_count":35290,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":true,"profile_background_color":"2660A1","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1528352858\/1484800383","profile_link_color":"D36015","profile_sidebar_border_color":"F2E195","profile_sidebar_fill_color":"FFF7CC","profile_text_color":"0C3E53","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false,"translator_type":"regular"},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":23,"favorite_count":4,"favorited":false,"retweeted":true,"lang":"ja"},"is_quote_status":false,"retweet_count":23,"favorite_count":0,"favorited":false,"retweeted":true,"lang":"ja"}

引用リツイート

ツイートが引用リツイートの場合、quoted_statusなどに、元のツイートの情報が追加されます。このツイートを取得しました。

JSON

{"created_at":"Sun Jan 29 09:00:27 +0000 2017","id":825629671228272643,"id_str":"825629671228272643","text":"\u3053\u308c\u306f\u3001\u5f15\u7528\u30ea\u30c4\u30a4\u30fc\u30c8\u306e\u4f8b\u3067\u3059\u3002 https:\/\/t.co\/2ukSSuCiIj","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[{"url":"https:\/\/t.co\/2ukSSuCiIj","expanded_url":"https:\/\/twitter.com\/murashun\/status\/825629435030233089","display_url":"twitter.com\/murashun\/statu\u2026","indices":[17,40]}]},"source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e","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":1528352858,"id_str":"1528352858","name":"\u3042\u3089\u3086","screen_name":"arayutw","location":"\u65e5\u672c \u6771\u4eac","description":"SYNCER\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u63b2\u793a\u677f\u2192 https:\/\/t.co\/OAIDbACF3N","url":"https:\/\/t.co\/lW3GYq8sQl","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/lW3GYq8sQl","expanded_url":"https:\/\/syncer.jp\/","display_url":"syncer.jp","indices":[0,23]}]},"description":{"urls":[{"url":"https:\/\/t.co\/OAIDbACF3N","expanded_url":"https:\/\/forum.syncer.jp\/","display_url":"forum.syncer.jp","indices":[26,49]}]}},"protected":false,"followers_count":1422,"friends_count":565,"listed_count":113,"created_at":"Tue Jun 18 17:28:51 +0000 2013","favourites_count":4462,"utc_offset":32400,"time_zone":"Asia\/Tokyo","geo_enabled":true,"verified":false,"statuses_count":35289,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":true,"profile_background_color":"2660A1","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1528352858\/1484800383","profile_link_color":"D36015","profile_sidebar_border_color":"F2E195","profile_sidebar_fill_color":"FFF7CC","profile_text_color":"0C3E53","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null,"translator_type":"regular"},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":true,"quoted_status_id":825629435030233089,"quoted_status_id_str":"825629435030233089","quoted_status":{"created_at":"Sun Jan 29 08:59:31 +0000 2017","id":825629435030233089,"id_str":"825629435030233089","text":"\u3042\u3089\u3086\u6c0f\u304c\u307e\u305f\u4f55\u304b\u3084\u3063\u3066\u308b\u3002\u3002\u3002","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\u003ca href=\"http:\/\/twitter.com\" rel=\"nofollow\"\u003eTwitter Web Client\u003c\/a\u003e","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":113785269,"id_str":"113785269","name":"\u3080\u3089\u3057\u3085\u3093","screen_name":"murashun","location":"\u77f3\u5ddd\u770c \u91d1\u6ca2\u5e02","description":"Web\u30c7\u30b6\u30a4\u30ca\u30fc\u3067\u306f\u306a\u3044\u3051\u3069Web\u30c7\u30b6\u30a4\u30f3\u306b\u8208\u5473\u306e\u3042\u308b\u7ba1\u7406\u4eba\u304c\u3001SNS\u3067\u5ec3\u308c\u305f\u500b\u4ebaWeb\u30b5\u30a4\u30c8\u306e\u5fa9\u6a29\u3092\u76ee\u6307\u3057\u3066\u3086\u308b\u3086\u308b\u884c\u304d\u307e\u3059\u0669( '\u03c9' )\u0648 \u30d5\u30a9\u30ed\u30fc\u30fb\u30ea\u30e0\u30fc\u30d6\u306f\u3054\u81ea\u7531\u306b\u3069\u3046\u305e\u3002\u4e00\u7dd2\u306b\u500b\u4ebaWeb\u30b5\u30a4\u30c8\u3092\u4f5c\u308a\u307e\u305b\u3093\u304b\u3002","url":"https:\/\/t.co\/KgJ1saKc5Y","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/KgJ1saKc5Y","expanded_url":"https:\/\/murashun.jp","display_url":"murashun.jp","indices":[0,23]}]},"description":{"urls":[]}},"protected":false,"followers_count":214,"friends_count":26,"listed_count":14,"created_at":"Sat Feb 13 01:39:10 +0000 2010","favourites_count":385,"utc_offset":32400,"time_zone":"Tokyo","geo_enabled":true,"verified":false,"statuses_count":31245,"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\/666505887935172608\/R4p71HAB_normal.png","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/666505887935172608\/R4p71HAB_normal.png","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/113785269\/1448356738","profile_link_color":"3498DB","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"has_extended_profile":true,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null,"translator_type":"none"},"geo":null,"coordinates":null,"place":null,"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"lang":"ja"},"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"possibly_sensitive":false,"possibly_sensitive_appealable":false,"lang":"ja"}

位置情報

スマホなどのデバイスで投稿し、ツイートに正確な位置情報が紐付けられた場合、geocoordinatesにgeoJSONが含まれます。このツイートを取得しました。

JSON

{"created_at":"Sun Jan 29 08:59:11 +0000 2017","id":825629352574345216,"id_str":"825629352574345216","text":"\u6b63\u78ba\u306a\u4f4d\u7f6e\u60c5\u5831\u3092\u8ffd\u52a0\u3057\u305f\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u3002","truncated":false,"entities":{"hashtags":[],"symbols":[],"user_mentions":[],"urls":[]},"source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\u003c\/a\u003e","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":1528352858,"id_str":"1528352858","name":"\u3042\u3089\u3086","screen_name":"arayutw","location":"\u65e5\u672c \u6771\u4eac","description":"SYNCER\u3068\u3044\u3046\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u63b2\u793a\u677f\u2192 https:\/\/t.co\/OAIDbACF3N","url":"https:\/\/t.co\/lW3GYq8sQl","entities":{"url":{"urls":[{"url":"https:\/\/t.co\/lW3GYq8sQl","expanded_url":"https:\/\/syncer.jp\/","display_url":"syncer.jp","indices":[0,23]}]},"description":{"urls":[{"url":"https:\/\/t.co\/OAIDbACF3N","expanded_url":"https:\/\/forum.syncer.jp\/","display_url":"forum.syncer.jp","indices":[26,49]}]}},"protected":false,"followers_count":1422,"friends_count":565,"listed_count":113,"created_at":"Tue Jun 18 17:28:51 +0000 2013","favourites_count":4462,"utc_offset":32400,"time_zone":"Asia\/Tokyo","geo_enabled":true,"verified":false,"statuses_count":35290,"lang":"ja","contributors_enabled":false,"is_translator":false,"is_translation_enabled":true,"profile_background_color":"2660A1","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/821911941396328448\/VjorK4J1.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/821941553774010370\/5M2umxbl_normal.jpg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1528352858\/1484800383","profile_link_color":"D36015","profile_sidebar_border_color":"F2E195","profile_sidebar_fill_color":"FFF7CC","profile_text_color":"0C3E53","profile_use_background_image":true,"has_extended_profile":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null,"translator_type":"regular"},"geo":{"type":"Point","coordinates":[35.79473211,139.80592072]},"coordinates":{"type":"Point","coordinates":[139.80592072,35.79473211]},"place":{"id":"76c498282a5a7997","url":"https:\/\/api.twitter.com\/1.1\/geo\/id\/76c498282a5a7997.json","place_type":"city","name":"Adachi-ku","full_name":"Adachi-ku, Tokyo","country_code":"JP","country":"Japan","contained_within":[],"bounding_box":{"type":"Polygon","coordinates":[[[139.735751,35.738659],[139.858685,35.738659],[139.858685,35.817519],[139.735751,35.817519]]]},"attributes":{}},"contributors":null,"is_quote_status":false,"retweet_count":0,"favorite_count":0,"favorited":false,"retweeted":false,"lang":"ja"}

プロパティの説明

ツイートオブジェクトに含まれる各プロパティの説明です。

contributors
: Array
TweetDeckにある、1つのアカウントを複数人で運用するチーム機能を使ってツイートを投稿した場合に、チームのユーザー全員のユーザーIDとスクリーンネームが含まれる。
coordinates
: Object
ツイートに正確な位置情報が紐づいている場合、geoJSONが含まれる。
type
ジオメトリーの種類。値はPoint
coordinates
位置座標の配列。第1要素が経度で、第2要素が緯度。
created_at
: String
ツイートの投稿日時。
entities
: Object
ツイート本文のエンティティ。本文にリンクを付けてリッチテキスト化する材料となる情報。エンティティオブジェクトを参照。
extended_entities
: Object
ツイート本文を拡張するエンティティ。画像や動画などを、本文に付け足すための情報。エンティティオブジェクトを参照。
favorited
: Boolean
アクセストークンの主が、このツイートをお気に入りに登録しているか。ユーザー認証で取得した場合に含まれる。
favorite_count
: Int
このツイートがお気に入りに登録された数。
geo
: Object
ツイートに正確な位置情報が紐づいている場合、geoJSONが含まれる。このプロパティは非推奨で、代わりにcoordinatesを利用するのが望ましい。
type
ジオメトリーの種類。値はPoint
coordinates
位置座標の配列。第1要素が緯度で、第2要素が経度。
id
: Int
数値型のツイートID。桁数が多い場合、サーバーによっては末尾の数が丸められてしまう。
id_str
: String
文字列型のツイートID。
in_reply_to_screen_name
: String
ツイートがリプライの場合、返信先のユーザーのスクリーンネーム。
in_reply_to_status_id
: Int
ツイートがリプライの場合、返信先のツイートのID。数値なので、桁数が多いとサーバーによっては末尾が丸められる。
in_reply_to_status_id_str
: String
ツイートがリプライの場合、返信先のツイートのID。文字列型。
in_reply_to_user_id
: Int
ツイートがリプライの場合、返信先のユーザーのID。数値なので、桁数が多いとサーバーによっては末尾が丸められる。
in_reply_to_user_id_str
: String
ツイートがリプライの場合、返信先のユーザーのID。文字列型。
is_quote_status
: Boolean
ツイートが引用リツイートの場合、trueになる。
lang
: String
ツイートの言語。
place
: Object
ツイートに場所の情報が紐づいている場合、Place Objectが含まれる。
quoted_status
: Object
ツイートが引用リツイートの場合、元のツイートのTweet Object。
quoted_status_id
: Int
ツイートが引用リツイートの場合、元のツイートのID。数値なので、桁数が多いとサーバーによっては末尾が丸められる。
quoted_status_id_str
: Int
ツイートが引用リツイートの場合、元のツイートのID。文字列型。
retweeted
: Boolean
アクセストークンの主が、このツイートをリツイートしているか。ユーザー認証で取得した場合に含まれる。
retweeted_status
: Object
ツイートが公式リツイートの場合、元のツイートのTweet Object。
retweet_count
: Int
このツイートがリツイートされた数。
source
: String
ツイートを投稿したアプリケーション。リッチテキストになっている。
text
: String
ツイートの本文。URLやハッシュタグにリンクが付いていない状態。
truncated
: Boolean
取得したツイート(text)が切り取られているか否か。例えば、こちらのツイートのように本文を140文字にして画像を添付したツイートは、APIで取得した時に末尾がとなって切り取られる。
user
: Object
ツイートを投稿したユーザーの情報を含んだUser Object