Error while Parsing data from twitter api - https://api.twitter.com/1.1/search/tweets.json? q=abc&since_id=347973781299535872&max_id=349052114242244608&count=3


#1

I am sending following request to twitter api (https://api.twitter.com) -

https://api.twitter.com/1.1/search/tweets.json? q=abc&since_id=347973781299535872&max_id=349052114242244608&count=3

The response is coming from twitter, but when we parse this data in python, we are getting following error
data = jsonlib.loads(data1)

{"statuses":[{"metadata":{"result_type":"recent","iso_language_code":"en"},"created_at":"Mon Jun 24 06:31:23 +0000 2013","id":349052113411768320,"id_str":"349052113411768320","text":"RT @mickdundee48: @SpudBenBean @davidbewart @ALeighMP @surround77 Australians as one should insist that our national carrier ABC holds mini\u2026","source":"web","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":267989050,"id_str":"267989050","name":"PuffyTMD","screen_name":"PuffyTMD","location":"Adelaide SA Australia","description":"Looking for my two lost dogs, Ajax & Stamp in Adelaide. SA, Australia. Missing since 19 July 2011. http:\/\/t.co\/C8nSoIw2zq","url":"http:\/\/t.co\/HFNYy3U5OH","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/HFNYy3U5OH","expanded

"JSON ERROR : JSON parsing error at line 1, column 874 (position 873): Unterminated string."

_url":"http:\/\/ajaxstamp.com","display_url":"ajaxstamp.com","indices":[0,22]}]},"description":{"urls":[{"url":"http:\/\/t.co\/C8nSoIw2zq","expanded_url":"http:\/\/www.ajaxstamp.com","display_url":"ajaxstamp.com","indices":[99,121]}]}},"protected":false,"followers_count":463,"friends_count":706,"listed_count":4,"created_at":"Thu Mar 17 23:18:40 +0000 2011","favourites_count":43,"utc_offset":34200,"time_zone":"Adelaide","geo_enabled":true,"verified":false,"statuses_count":13559,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/392526580\/Mum_htc_smartphone_nov11_003.jpg","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/392526580\/Mum_htc_smartphone_nov11_003.jpg","profile_background_tile":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/2352172333\/bteuil73ka3xesg4q33q_normal.jpeg","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/2352172333\/bteuil73ka3xesg4q33q_normal.jpeg","profile_banner_url":"https:\/\/pbs.twimg.com\/profile_banners\/267989050\/1353390467","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":false,"default_profile_image":false,"following":false,"follow_request_sent":false,"notifications":false},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweeted_status":{"metadata":{"result_type":"recent","iso_language_code":"en"},"created_at":"Mon Jun 24 06:23:35 +0000 2013","id":349050148774625280,"id_str":"349050148774625280","text":"@SpudBenBean @davidbewart @ALeighMP @surround77 Australians as one should insist that our national carrier ABC holds minimum of 3 debates.","source":"\u003ca href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\"\u003eMobile Web (M5)\u003c\/a\u003e","truncated":false,"in_reply_to_status_id":349048031032778753,"in_reply_to_status_id_str":"349048031032778753","in_reply_to_user_id":1094543390,"in_reply_to_user_id_str":"1094543390","in_reply_to_screen_name":"surround77","user":{"id":533022197,"id_str":"533022197","name":"michael w beattie","screen_name":"mickdundee48","location":"Sydney, NSW","description":"Supporting Australian owned company's employing Australians and retaining profits in Australia.","url":null,"entities":{"description":{"urls":[]}},"protected":false,"followers_count":528,"friends_count":980,"listed_count":3,"created_at":"Thu Mar 22 10:41:12 +0000 2012","favourites_count":993,"utc_offset":0,"time_zone":"Edinburgh","geo_enabled":false,"verified":false,"statuses_count":7377,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"C0DEED","profile_background_image_url":"http:\/\/a0.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_image_url_https":"https:\/\/si0.twimg.com\/images\/themes\/theme1\/bg.png","profile_background_tile":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1929616554\/et_normal.jpg","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1929616554\/et_normal.jpg","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":false,"follow_request_sent":false,"notifications":false},"geo":null,"coordinates":null,"place":null,"contributors":null,"retweet_count":6,"favorite_count":1,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"screen_name":"SpudBenBean","name":"Denise","id":173629507,"id_str":"173629507","indices":[0,12]},{"screen_name":"davidbewart","name":"david ewart","id":58974496,"id_str":"58974496","indices":[13,25]},{"screen_name":"ALeighMP","name":"Andrew Leigh","id":322866759,"id_str":"322866759","indices":[26,35]},{"screen_name":"surround77","name":"Glenn R","id":1094543390,"id_str":"1094543390","indices":[36,47]}]},"favorited":false,"retweeted":false,"lang":"en"},"retweet_count":6,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[],"user_mentions":[{"screen_name":"mickdundee48","name":"michael w beattie","id":533022197,"id_str":"533022197","indices":[3,16]},{"screen_name":"SpudBenBean","name":"Denise","id":173629507,"id_str":"173629507","indices":[18,30]},{"screen_name":"davidbewart","name":"david ewart","id":58974496,"id_str":"58974496","indices":[31,43]},{"screen_name":"ALeighMP","name":"Andrew Leigh","id":322866759,"id_str":"322866759","indices":[44,53]},{"screen_name":"surround77","name":"Glenn R","id":1094543390,"id_str":"1094543390","indices":[54,65]}]},"favorited":false,"retweeted":false,"lang":"en"},{"metadata":{"result_type":"recent","iso_language_code":"en"},"created_at":"Mon Jun 24 06:31:22 +0000 2013","id":349052110165401600,"id_str":"349052110165401600","text":"Former speaker Harry Jenkins calls on Labor to unite in valedictory speech to Parliament http:\/\/t.co\/ejkXWHT1Bo","source":"\u003ca href=\"http:\/\/twitterfeed.com\" rel=\"nofollow\"\u003etwitterfeed\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":16215516,"id_str":"16215516","name":"ABC News Victoria","screen_name":"abcnewsVic","location":"Victoria, Australia","description":"ABC News from Victoria. This is an official @ABCaustralia account.","url":"http:\/\/t.co\/lTlryY01c9","entities":{"url":{"urls":[{"url":"http:\/\/t.co\/lTlryY01c9","expanded_url":"http:\/\/www.abc.net.au\/news\/victoria","display_url":"abc.net.au\/news\/victoria","indices":[0,22]}]},"description":{"urls":[]}},"protected":false,"followers_count":6621,"friends_count":3,"listed_count":215,"created_at":"Wed Sep 10 02:37:49 +0000 2008","favourites_count":0,"utc_offset":36000,"time_zone":"Melbourne","geo_enabled":false,"verified":false,"statuses_count":25371,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"D9DDE1","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/399253737\/News_local-Twitter-background.JPG","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/399253737\/News_local-Twitter-background.JPG","profile_background_tile":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1749073647\/News_local-Twitter-avatar_normal.JPG","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1749073647\/News_local-Twitter-avatar_normal.JPG","profile_link_color":"0034DE","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","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":0,"favorite_count":1,"entities":{"hashtags":[],"symbols":[],"urls":[{"url":"http:\/\/t.co\/ejkXWHT1Bo","expanded_url":"http:\/\/bit.ly\/15xwaTe","display_url":"bit.ly\/15xwaTe","indices":[89,111]}],"user_mentions":[]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"lang":"en"},{"metadata":{"result_type":"recent","iso_language_code":"en"},"created_at":"Mon Jun 24 06:31:22 +0000 2013","id":349052108286332928,"id_str":"349052108286332928","text":"AFL: Geelong star Steve Johnson banned for two weeks for rough conduct http:\/\/t.co\/168rTYFygE","source":"\u003ca href=\"http:\/\/twitterfeed.com\" rel=\"nofollow\"\u003etwitterfeed\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":16215516,"id_str":"16215516","name":"ABC News Victoria","screen_name":"abcnewsVic","location":"Victoria, Australia","description":"ABC News from Victoria. This is an official @ABCaustralia account.","url":"http:\/\/t.co\/lTlryY01c9","entities":{"url":{"urls":[{"url"
:"http:\/\/t.co\/lTlryY01c9","expanded_url":"http:\/\/www.abc.net.au\/news\/victoria","display_url":"abc.net.au\/news\/victoria","indices":[0,22]}]},"description":{"urls":[]}},"protected":false,"followers_count":6621,"friends_count":3,"listed_count":215,"created_at":"Wed Sep 10 02:37:49 +0000 2008","favourites_count":0,"utc_offset":36000,"time_zone":"Melbourne","geo_enabled":false,"verified":false,"statuses_count":25371,"lang":"en","contributors_enabled":false,"is_translator":false,"profile_background_color":"D9DDE1","profile_background_image_url":"http:\/\/a0.twimg.com\/profile_background_images\/399253737\/News_local-Twitter-background.JPG","profile_background_image_url_https":"https:\/\/si0.twimg.com\/profile_background_images\/399253737\/News_local-Twitter-background.JPG","profile_background_tile":false,"profile_image_url":"http:\/\/a0.twimg.com\/profile_images\/1749073647\/News_local-Twitter-avatar_normal.JPG","profile_image_url_https":"https:\/\/si0.twimg.com\/profile_images\/1749073647\/News_local-Twitter-avatar_normal.JPG","profile_link_color":"0034DE","profile_sidebar_border_color":"C0DEED","profile_sidebar_fill_color":"DDEEF6","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":0,"favorite_count":0,"entities":{"hashtags":[],"symbols":[],"urls":[{"url":"http:\/\/t.co\/168rTYFygE","expanded_url":"http:\/\/bit.ly\/15xwdhD","display_url":"bit.ly\/15xwdhD","indices":[71,93]}],"user_mentions":[]},"favorited":false,"retweeted":false,"possibly_sensitive":false,"lang":"en"}],"search_metadata":{"completed_in":0.061,"max_id":349052114242244608,"max_id_str":"349052114242244608","next_results":"?max_id=349052108286332927&q=abc&count=3&include_entities=1","query":"abc","refresh_url":"?since_id=349052114242244608&q=abc&include_entities=1","count":3,"since_id":347973781299535872,"since_id_str":"347973781299535872"}}

"JSON ERROR : JSON parsing error at line 1, column 1 (position 0): Unexpected U+005F".
"JSON ERROR : JSON parsing error at line 1, column 1 (position 0): Unexpected U+003A."

Please anybody help us ??