Skip to content

Instantly share code, notes, and snippets.

@mroth
Created May 4, 2014 21:25
Show Gist options
  • Save mroth/c992d13a2a2666015266 to your computer and use it in GitHub Desktop.
Save mroth/c992d13a2a2666015266 to your computer and use it in GitHub Desktop.
Tweets that crash TweetStream
ERROR: MultiJson::DecodeError occured in stream
{"created_at":"Sun May 04 01:44:47 +0000 2014","id":462769779540246529,"id_str":"462769779540246529","text":"RT @bshor201: \u0644\u0644\u0627\u0630\u0643\u064a\u0627\u0627\u0627\u0627\u0621 \u0641\u0642\u0637 \ud83d\ude0f\n\n\u0645\u0627\u0646\u062a \u0630\u0643\u064a \u0631\u0648\u0648\u0648\u062d \u0628\u0639\u064a\u062f \u0644\u0627 \u062a\u062d\u0627\u0648\u0644 \u062a\u062d\u0644 \u0627\u0644\u0644\u063a\u0632 http:\/\/t.co\/sFQkjbRyHG","source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\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":494349170,"id_str":"494349170","name":"\u0642\u0627\u062f\u064a \u0645\u062d\u0645\u062f","screen_name":"gadimhmad","location":"\u0627\u0644\u062d\u062f\u0648\u062f \u0627\u0644\u0634\u0645\u0627\u0644\u064a\u0647 \u0640 \u0631\u0641\u062d\u0640\u0640\u0640\u0640\u0640\u0640\u0627\u0621","url":null,"description":null,"protected":false,"followers_count":512,"friends_count":756,"listed_count":3,"created_at":"Thu Feb 16 20:14:00 +0000 2012","favourites_count":181,"utc_offset":null,"time_zone":null,"geo_enabled":false,"verified":false,"statuses_count":3082,"lang":"en","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\/418913528536641537\/OSX7NuXx_normal.jpeg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/418913528536641537\/OSX7NuXx_normal.jpeg","profile_link_color":"0084B4","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"created_at":"Wed Apr 30 02:07:07 +0000 2014","id":461325846918463489,"id_str":"461325846918463489","text":"\u0644\u0644\u0627\u0630\u0643\u064a\u0627\u0627\u0627\u0627\u0621 \u0641\u0642\u0637 \ud83d\ude0f\n\n\u0645\u0627\u0646\u062a \u0630\u0643\u064a \u0631\u0648\u0648\u0648\u062d \u0628\u0639\u064a\u062f \u0644\u0627 \u062a\u062d\u0627\u0648\u0644 \u062a\u062d\u0644 \u0627\u0644\u0644\u063a\u0632 http:\/\/t.co\/sFQkjbRyHG","source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\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":2392033197,"id_str":"2392033197","name":"\u0627\u0646\u0627 \u0647\u064a \u2665\ufe0f","screen_name":"bshor201","location":"","url":null,"description":"\u062e\u0644\u0643 \u0645\u062b\u0644 \u0641\u0636\u0644 \u0627\u0644\u0633\u062d\u0627\u064a\u0628 \u0639\u0644\u0649 \u0627\u0644\u0642\u0627\u0627\u0627\u0627\u0639 \u062a\u0639\u0637\u064a \u0648\u0644\u0627\u062a\u0627\u062e\u0630 \u0645\u0646 \u0627\u0644\u0646\u0627\u0627\u0627\u0627\u0633 \u062d\u0627\u0627\u0627\u0627\u062c\u0629 \n\n\u0634\u0645\u0631\u064a\u0647 \u0634\u0631\u0642\u0627\u0648\u064a\u0647 . \u0647\u0644\u0627\u0644\u064a\u0647 \u0645\u0644\u0643\u064a\u0647","protected":false,"followers_count":1767,"friends_count":1996,"listed_count":0,"created_at":"Fri Mar 07 21:14:30 +0000 2014","favourites_count":87,"utc_offset":null,"time_zone":null,"geo_enabled":false,"verified":false,"statuses_count":2179,"lang":"ar","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"C0DEED","profile_backgr{"created_at":"Sun May 04 01:44:47 +0000 2014","id":462769779540262912,"id_str":"462769779540262912","text":"RT @ItsGirlHandbook: LOL at your downgrade, congrats \ud83d\ude02","source":"\u003ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003eTwitter for Android\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":513349039,"id_str":"513349039","name":"Brianna\ue003","screen_name":"_BriannaLee_Xo","location":"","url":null,"description":"baby get your shine on","protected":false,"followers_count":694,"friends_count":756,"listed_count":1,"created_at":"Sat Mar 03 16:36:50 +0000 2012","favourites_count":3993,"utc_offset":-25200,"time_zone":"Arizona","geo_enabled":true,"verified":false,"statuses_count":14699,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"022330","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/789366748\/d4b8c3768c37f6ef0353b11e8e82d8d7.jpeg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/789366748\/d4b8c3768c37f6ef0353b11e8e82d8d7.jpeg","profile_background_tile":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/458091662049566720\/8GqsCviQ_normal.jpeg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/458091662049566720\/8GqsCviQ_normal.jpeg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/513349039\/1398113052","profile_link_color":"0084B4","profile_sidebar_border_color":"000000","profile_sidebar_fill_color":"7AC3EE","profile_text_color":"3D1957","profile_use_background_image":true,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"created_at":"Sun May 04 01:26:04 +0000 2014","id":462765065859383297,"id_str":"462765065859383297","text":"LOL at your downgrade, congrats \ud83d\ude02","source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\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":1042928845,"id_str":"1042928845","name":"Girl Handbook","screen_name":"ItsGirlHandbook","location":"Avi is me.","url":null,"description":"Make me laugh & I'll love you forever.","protected":false,"followers_count":26367,"friends_count":41,"listed_count":47,"created_at":"Fri Dec 28 19:02:01 +0000 2012","favourites_count":5776,"utc_offset":-14400,"time_zone":"Eastern Time (US & Canada)","geo_enabled":false,"verified":false,"statuses_count":2318,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"50E1E6","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/378800000017003763\/4c20541733de8dca543e00616b883c7a.png","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/378800000017003763\/4c20541733de8dca543e00616b883c7a.png","profile_background_tile":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/449067363699159040\/-gZeAkMX_normal.jpeg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/449067363699159040\/-gZeAkMX_normal.jpeg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/1042928845\/1397514541","profile_link_color":"0084B4","profile_sidebar_border_color":"000000","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":false,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":24,"favorite_count":28,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[]},"favorited":false,"retweeted":false,"lang":"en"},"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"screen_name":"ItsGirlHandbook","name":"Girl Handbook","id":1042928845,"id_str":"1042928845","indices":[3,19]}]},"favorited":false,"retweeted":false,"filter_level":"medium","lang":"en"}
{"created_at":"Sun May 04 21:06:08 +0000 2014","id":463062041440161792,"id_str":"463062041440161792","text":"RT @ThaMeR_3R3R: \ud83c\udf39\n\u0643\u0644\u0645\u064e\u0627 \u0631\u0641\u0639\u064e\u062a \u064a\u062f\u064a\u0651 \u0644\u0650 \u0627\u0644\u0633\u0645\u064e\u0627\u0621 \u0627\u062d\u0645\u0650\u062f \u0627\u0644\u0644\u0647 \u0639\u0644\u0649 \u0646\u0639\u0650\u0645\u0647 , \u0648\u062a\u0628\u0642\u064a\u0646 \u0627\u0646\u064e\u062a\u064a \u064a\u064e (\u0623\u0645\u064a) \u0623\u062c\u0645\u064e\u0644 \u0627\u0644\u0646\u0639\u0645\u0651 \u0627\u0644\u062a\u0651\u064a \u0627\u062f\u0639\u0650\u064a \u0627\u0644\u0644\u0647 \u0639\u062f\u0651\u0645 \u0632\u0648\u0622\u0644\u0650\u0647\u0627 .","source":"\u003ca href=\"http:\/\/3rbTw.com\" rel=\"nofollow\"\u003eHAMOR T011\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":2461821163,"id_str":"2461821163","name":"\u0631\u064a\u0646\u0627\u062f","screen_name":"l0syuk92","location":"Riyadh","url":null,"description":"\u0631\u064a\u0646\u0627\u062f","protected":false,"followers_count":75,"friends_count":81,"listed_count":0,"created_at":"Thu Apr 24 15:18:31 +0000 2014","favourites_count":0,"utc_offset":null,"time_zone":null,"geo_enabled":false,"verified":false,"statuses_count":92,"lang":"ru","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\/462323652688498688\/CqEMVcLv_normal.jpeg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/462323652688498688\/CqEMVcLv_normal.jpeg","profile_link_color":"0084B4","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"default_profile":true,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"created_at":"Sun May 04 15:30:21 +0000 2014","id":462977537547976704,"id_str":"462977537547976704","text":"\ud83c\udf39\n\u0643\u0644\u0645\u064e\u0627 \u0631\u0641\u0639\u064e\u062a \u064a\u062f\u064a\u0651 \u0644\u0650 \u0627\u0644\u0633\u0645\u064e\u0627\u0621 \u0627\u062d\u0645\u0650\u062f \u0627\u0644\u0644\u0647 \u0639\u0644\u0649 \u0646\u0639\u0650\u0645\u0647 , \u0648\u062a\u0628\u0642\u064a\u0646 \u0627\u0646\u064e\u062a\u064a \u064a\u064e (\u0623\u0645\u064a) \u0623\u062c\u0645\u064e\u0644 \u0627\u0644\u0646\u0639\u0645\u0651 \u0627\u0644\u062a\u0651\u064a \u0627\u062f\u0639\u0650\u064a \u0627\u0644\u0644\u0647 \u0639\u062f\u0651\u0645 \u0632\u0648\u0622\u0644\u0650\u0647\u0627 .","source":"\u003ca href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\"\u003eTwitter for Android\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":1143633998,"id_str":"1143633998","name":"\u062b\u0627\u0645\u0631 \u0627\u0644\u0640\u06be\u0644\u0627\u06af\u0640\u0622 \u10e6\u30c4","screen_name":"ThaMeR_3R3R","location":"#Arar \u062b\u0627\u0645\u0631 \u0622\u0644\u0640 \u0645\u0634\u0639\u0644 \u0627\u0644\u0645\u0636\u064a\u0627\u0646\u064a","url":null,"description":"\u2605\u0627\u064e\u0644\u0635\u0645\u062a\u0652 \u062d\u0643\u0645\u0647\u060c\u0648\u0627\u0644\u062d\u0643\u064a \u0645\u0635\u062f\u0631\u0625\u0641\u0644\u0627\u0633\u0652.!#\u0643\u0645\u0652 \u0644\u0644\u0647\u0650 \u0645\u0650\u0646\u0652 \u0644\u064f\u0637\u0641\u064d \u062e\u0641\u064a#\u0625\u0646 \u0648\u062c\u062f\u062a \u0645\u0627\u064a\u064f\u0633\u0639\u062f\u0643\u064e \u0641\u064a \u0635\u064{"created_at":"Sun May 04 21:06:08 +0000 2014","id":463062040815624192,"id_str":"463062040815624192","text":"I love you \ud83d\udd05 http:\/\/t.co\/DMSOR08Mh
S","source":"\u003ca href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\"\u003eTwitter for iPhone\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":637223368,"id_str":"637223368","name":" \u2b50\ufe0fANNIE\u2b50\ufe0f","screen_name":"nouis_taco","location":"","url":null,"description":"I love my boys with all of my heart, i will love & support them till the day i die \/\/ 0\/5","protected":false,"followers_count":1030,"friends_count":904,"listed_count":0,"created_at":"Mon Jul 16 19:34:38 +0000 2012","favourites_count":1952,"utc_offset":3600,"time_zone":"Casablanca","geo_enabled":false,"verified":false,"statuses_count":124,"lang":"en","contributors_enabled":false,"is_translator":false,"is_translation_enabled":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/pbs.twimg.com\/profile_background_images\/378800000123010036\/1d56caa2ddc533f1bed404a4f1bf07be.jpeg","profile_background_image_url_https":"https:\/\/pbs.twimg.com\/profile_background_images\/378800000123010036\/1d56caa2ddc533f1bed404a4f1bf07be.jpeg","profile_background_tile":true,"profile_image_url":"http:\/\/pbs.twimg.com\/profile_images\/436529831304773632\/Y1S_mbDr_normal.jpeg","profile_image_url_https":"https:\/\/pbs.twimg.com\/profile_images\/436529831304773632\/Y1S_mbDr_normal.jpeg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/637223368\/1397765716","profile_link_color":"0084B4","profile_sidebar_border_color":"FFFFFF","profile_sidebar_fill_color":"DDEEF6","profile_text_color":"333333","profile_use_background_image":true,"default_profile":false,"default_profile_image":false,"following":null,"follow_request_sent":null,"notifications":null},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":0,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[],"media":[{"id":463062036604547072,"id_str":"463062036604547072","indices":[13,35],"media_url":"http:\/\/pbs.twimg.com\/media\/Bm0geAjIcAA8wU5.jpg","media_url_https":"https:\/\/pbs.twimg.com\/media\/Bm0geAjIcAA8wU5.jpg","url":"http:\/\/t.co\/DMSOR08MhS","display_url":"pic.twitter.com\/DMSOR08MhS","expanded_url":"http:\/\/twitter.com\/nouis_taco\/status\/463062040815624192\/photo\/1","type":"photo","sizes":{"large":{"w":576,"h":1024,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"},"medium":{"w":576,"h":1024,"resize":"fit"},"small":{"w":340,"h":604,"resize":"fit"}}}]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"filter_level":"medium","lang":"en"}
@mroth
Copy link
Author

mroth commented May 4, 2014

When attempting to parse these manually via jq, I get the following:

parse error: Invalid numeric literal at line 1, column 4024

And

parse error: Invalid characters in \uXXXX escape at line 1, column 4092

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment