{"id":5637,"date":"2013-02-23T01:17:01","date_gmt":"2013-02-23T01:17:01","guid":{"rendered":"http:\/\/zerokidz.com\/ideas\/?p=5637"},"modified":"2014-06-17T22:18:52","modified_gmt":"2014-06-18T02:18:52","slug":"twitter-streaming-api","status":"publish","type":"post","link":"https:\/\/reactivemusic.net\/?p=5637","title":{"rendered":"Twitter streaming API"},"content":{"rendered":"<p><span style=\"line-height: 1.6;\">from\u00a0<\/span><a style=\"line-height: 1.6;\" href=\"https:\/\/dev.twitter.com\/docs\/streaming-apis\">https:\/\/dev.twitter.com\/docs\/streaming-apis<\/a><\/p>\n<p>This diagram shows the process of handling a stream, using a data store as an intermediary.<\/p>\n<p><a href=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-5638\" title=\"streaming-intro-2_1\" src=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png\" alt=\"\" width=\"300\" height=\"190\" srcset=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png 300w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-471x300.png 471w, https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1.png 564w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>The JSON response breaks out various components of the tweet like hashtags and URL&#8217;s but it doesn&#8217;t provide a clean version of the text &#8211; which for example could be converted to speech.<\/p>\n<p>Here&#8217;s a sample response which shows all the fields:<\/p>\n<pre class=\"brush: javascript; gutter: true\">{\r\n\t&quot;created_at&quot;: &quot;Sat Feb 23 01:30:55 +0000 2013&quot;,\r\n\t&quot;id&quot;: 305127564538691584,\r\n\t&quot;id_str&quot;: &quot;305127564538691584&quot;,\r\n\t&quot;text&quot;: &quot;Window Seat #photo #cats http:\\\/\\\/t.co\\\/sf0fHWEX2S&quot;,\r\n\t&quot;source&quot;: &quot;\\u003ca href=\\&quot;http:\\\/\\\/www.echofon.com\\\/\\&quot; rel=\\&quot;nofollow\\&quot;\\u003eEchofon\\u003c\\\/a\\u003e&quot;,\r\n\t&quot;truncated&quot;: false,\r\n\t&quot;in_reply_to_status_id&quot;: null,\r\n\t&quot;in_reply_to_status_id_str&quot;: null,\r\n\t&quot;in_reply_to_user_id&quot;: null,\r\n\t&quot;in_reply_to_user_id_str&quot;: null,\r\n\t&quot;in_reply_to_screen_name&quot;: null,\r\n\t&quot;user&quot;: {\r\n\t\t&quot;id&quot;: 19079184,\r\n\t\t&quot;id_str&quot;: &quot;19079184&quot;,\r\n\t\t&quot;name&quot;: &quot;theRobot Vegetable&quot;,\r\n\t\t&quot;screen_name&quot;: &quot;roveg&quot;,\r\n\t\t&quot;location&quot;: &quot;&quot;,\r\n\t\t&quot;url&quot;: &quot;http:\\\/\\\/south-fork.org\\\/&quot;,\r\n\t\t&quot;description&quot;: &quot;choose art, not life&quot;,\r\n\t\t&quot;protected&quot;: false,\r\n\t\t&quot;followers_count&quot;: 975,\r\n\t\t&quot;friends_count&quot;: 454,\r\n\t\t&quot;listed_count&quot;: 109,\r\n\t\t&quot;created_at&quot;: &quot;Fri Jan 16 18:38:11 +0000 2009&quot;,\r\n\t\t&quot;favourites_count&quot;: 1018,\r\n\t\t&quot;utc_offset&quot;: -39600,\r\n\t\t&quot;time_zone&quot;: &quot;International Date Line West&quot;,\r\n\t\t&quot;geo_enabled&quot;: false,\r\n\t\t&quot;verified&quot;: false,\r\n\t\t&quot;statuses_count&quot;: 10888,\r\n\t\t&quot;lang&quot;: &quot;en&quot;,\r\n\t\t&quot;contributors_enabled&quot;: false,\r\n\t\t&quot;is_translator&quot;: false,\r\n\t\t&quot;profile_background_color&quot;: &quot;1A1B1F&quot;,\r\n\t\t&quot;profile_background_image_url&quot;: &quot;http:\\\/\\\/a0.twimg.com\\\/profile_background_images\\\/6824826\\\/BlogisattvasEtc.gif&quot;,\r\n\t\t&quot;profile_background_image_url_https&quot;: &quot;https:\\\/\\\/si0.twimg.com\\\/profile_background_images\\\/6824826\\\/BlogisattvasEtc.gif&quot;,\r\n\t\t&quot;profile_background_tile&quot;: true,\r\n\t\t&quot;profile_image_url&quot;: &quot;http:\\\/\\\/a0.twimg.com\\\/profile_images\\\/266371487\\\/1roveggreen_normal.gif&quot;,\r\n\t\t&quot;profile_image_url_https&quot;: &quot;https:\\\/\\\/si0.twimg.com\\\/profile_images\\\/266371487\\\/1roveggreen_normal.gif&quot;,\r\n\t\t&quot;profile_link_color&quot;: &quot;2FC2EF&quot;,\r\n\t\t&quot;profile_sidebar_border_color&quot;: &quot;181A1E&quot;,\r\n\t\t&quot;profile_sidebar_fill_color&quot;: &quot;252429&quot;,\r\n\t\t&quot;profile_text_color&quot;: &quot;666666&quot;,\r\n\t\t&quot;profile_use_background_image&quot;: false,\r\n\t\t&quot;default_profile&quot;: false,\r\n\t\t&quot;default_profile_image&quot;: false,\r\n\t\t&quot;following&quot;: null,\r\n\t\t&quot;follow_request_sent&quot;: null,\r\n\t\t&quot;notifications&quot;: null\r\n\t},\r\n\t&quot;geo&quot;: null,\r\n\t&quot;coordinates&quot;: null,\r\n\t&quot;place&quot;: null,\r\n\t&quot;contributors&quot;: null,\r\n\t&quot;retweet_count&quot;: 0,\r\n\t&quot;entities&quot;: {\r\n\t\t&quot;hashtags&quot;: [{\r\n\t\t\t&quot;text&quot;: &quot;photo&quot;,\r\n\t\t\t&quot;indices&quot;: [12, 18]\r\n\t\t}, {\r\n\t\t\t&quot;text&quot;: &quot;cats&quot;,\r\n\t\t\t&quot;indices&quot;: [19, 24]\r\n\t\t}],\r\n\t\t&quot;urls&quot;: [{\r\n\t\t\t&quot;url&quot;: &quot;http:\\\/\\\/t.co\\\/sf0fHWEX2S&quot;,\r\n\t\t\t&quot;expanded_url&quot;: &quot;http:\\\/\\\/middle-fork.org\\\/?p=186&quot;,\r\n\t\t\t&quot;display_url&quot;: &quot;middle-fork.org\\\/?p=186&quot;,\r\n\t\t\t&quot;indices&quot;: [25, 47]\r\n\t\t}],\r\n\t\t&quot;user_mentions&quot;: []\r\n\t},\r\n\t&quot;favorited&quot;: false,\r\n\t&quot;retweeted&quot;: false,\r\n\t&quot;possibly_sensitive&quot;: false,\r\n\t&quot;filter_level&quot;: &quot;medium&quot;\r\n}<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>from\u00a0https:\/\/dev.twitter.com\/docs\/streaming-apis This diagram shows the process of handling a stream, using a data store as an intermediary. The JSON response breaks out various components of the tweet like hashtags and URL&#8217;s but it doesn&#8217;t provide a clean version of the text &#8211; which for example could be converted to speech. Here&#8217;s a sample response which &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/reactivemusic.net\/?p=5637\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Twitter streaming API&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[143],"tags":[161,190,197,136],"class_list":["post-5637","post","type-post","status-publish","format-standard","hentry","category-interactive-media-art","tag-api","tag-portfolio","tag-streaming","tag-twitter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Twitter streaming API - reactive music<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/reactivemusic.net\/?p=5637\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Twitter streaming API - reactive music\" \/>\n<meta property=\"og:description\" content=\"from\u00a0https:\/\/dev.twitter.com\/docs\/streaming-apis This diagram shows the process of handling a stream, using a data store as an intermediary. The JSON response breaks out various components of the tweet like hashtags and URL&#8217;s but it doesn&#8217;t provide a clean version of the text &#8211; which for example could be converted to speech. Here&#8217;s a sample response which &hellip; Continue reading &quot;Twitter streaming API&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/reactivemusic.net\/?p=5637\" \/>\n<meta property=\"og:site_name\" content=\"reactive music\" \/>\n<meta property=\"article:published_time\" content=\"2013-02-23T01:17:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-18T02:18:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png\" \/>\n<meta name=\"author\" content=\"Tom Zicarelli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tom Zicarelli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637\"},\"author\":{\"name\":\"Tom Zicarelli\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"headline\":\"Twitter streaming API\",\"datePublished\":\"2013-02-23T01:17:01+00:00\",\"dateModified\":\"2014-06-18T02:18:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637\"},\"wordCount\":73,\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/streaming-intro-2_1-300x190.png\",\"keywords\":[\"API\",\"portfolio\",\"streaming\",\"Twitter\"],\"articleSection\":[\"interactive media art\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637\",\"name\":\"Twitter streaming API - reactive music\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/streaming-intro-2_1-300x190.png\",\"datePublished\":\"2013-02-23T01:17:01+00:00\",\"dateModified\":\"2014-06-18T02:18:52+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/reactivemusic.net\\\/?p=5637\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#primaryimage\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/streaming-intro-2_1.png\",\"contentUrl\":\"https:\\\/\\\/reactivemusic.net\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/streaming-intro-2_1.png\",\"width\":\"564\",\"height\":\"359\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/?p=5637#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/reactivemusic.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Twitter streaming API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#website\",\"url\":\"https:\\\/\\\/reactivemusic.net\\\/\",\"name\":\"reactive music\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/reactivemusic.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/reactivemusic.net\\\/#\\\/schema\\\/person\\\/56224d281582df7e5518e037ca63e571\",\"name\":\"Tom Zicarelli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g\",\"caption\":\"Tom Zicarelli\"},\"sameAs\":[\"http:\\\/\\\/tomzicarelli.com\"],\"url\":\"https:\\\/\\\/reactivemusic.net\\\/?author=2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Twitter streaming API - reactive music","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/reactivemusic.net\/?p=5637","og_locale":"en_US","og_type":"article","og_title":"Twitter streaming API - reactive music","og_description":"from\u00a0https:\/\/dev.twitter.com\/docs\/streaming-apis This diagram shows the process of handling a stream, using a data store as an intermediary. The JSON response breaks out various components of the tweet like hashtags and URL&#8217;s but it doesn&#8217;t provide a clean version of the text &#8211; which for example could be converted to speech. Here&#8217;s a sample response which &hellip; Continue reading \"Twitter streaming API\"","og_url":"https:\/\/reactivemusic.net\/?p=5637","og_site_name":"reactive music","article_published_time":"2013-02-23T01:17:01+00:00","article_modified_time":"2014-06-18T02:18:52+00:00","og_image":[{"url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png","type":"","width":"","height":""}],"author":"Tom Zicarelli","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tom Zicarelli","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/reactivemusic.net\/?p=5637#article","isPartOf":{"@id":"https:\/\/reactivemusic.net\/?p=5637"},"author":{"name":"Tom Zicarelli","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"headline":"Twitter streaming API","datePublished":"2013-02-23T01:17:01+00:00","dateModified":"2014-06-18T02:18:52+00:00","mainEntityOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=5637"},"wordCount":73,"image":{"@id":"https:\/\/reactivemusic.net\/?p=5637#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png","keywords":["API","portfolio","streaming","Twitter"],"articleSection":["interactive media art"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/reactivemusic.net\/?p=5637","url":"https:\/\/reactivemusic.net\/?p=5637","name":"Twitter streaming API - reactive music","isPartOf":{"@id":"https:\/\/reactivemusic.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/reactivemusic.net\/?p=5637#primaryimage"},"image":{"@id":"https:\/\/reactivemusic.net\/?p=5637#primaryimage"},"thumbnailUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1-300x190.png","datePublished":"2013-02-23T01:17:01+00:00","dateModified":"2014-06-18T02:18:52+00:00","author":{"@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571"},"breadcrumb":{"@id":"https:\/\/reactivemusic.net\/?p=5637#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/reactivemusic.net\/?p=5637"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/reactivemusic.net\/?p=5637#primaryimage","url":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1.png","contentUrl":"https:\/\/reactivemusic.net\/wp-content\/uploads\/2013\/02\/streaming-intro-2_1.png","width":"564","height":"359"},{"@type":"BreadcrumbList","@id":"https:\/\/reactivemusic.net\/?p=5637#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/reactivemusic.net\/"},{"@type":"ListItem","position":2,"name":"Twitter streaming API"}]},{"@type":"WebSite","@id":"https:\/\/reactivemusic.net\/#website","url":"https:\/\/reactivemusic.net\/","name":"reactive music","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/reactivemusic.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/reactivemusic.net\/#\/schema\/person\/56224d281582df7e5518e037ca63e571","name":"Tom Zicarelli","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0da58cf21a2707dd335b204b8ed3cd9194dcbf9d9814ac5d71195a65c76c8a72?s=96&d=mm&r=g","caption":"Tom Zicarelli"},"sameAs":["http:\/\/tomzicarelli.com"],"url":"https:\/\/reactivemusic.net\/?author=2"}]}},"_links":{"self":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5637"}],"version-history":[{"count":6,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5637\/revisions"}],"predecessor-version":[{"id":15086,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=\/wp\/v2\/posts\/5637\/revisions\/15086"}],"wp:attachment":[{"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/reactivemusic.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}