Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter API Bug, Unexpected token End Array #2

Closed
justinflipflops opened this issue Mar 10, 2012 · 3 comments
Closed

Twitter API Bug, Unexpected token End Array #2

justinflipflops opened this issue Mar 10, 2012 · 3 comments

Comments

@justinflipflops
Copy link

@justinflipflops justinflipflops commented Mar 10, 2012

Unexpected token when deserializing object: EndArray. Line 1, position 1706 using the TwitterAPI.

Returned JSON it fails on:

[{"coordinates":null,"created_at":"Sat Mar 10 06:44:44 +0000 2012","id_str":"178370788997595136","in_reply_to_status_id":null,"favorited":false,"geo":null,"truncated":false,"in_reply_to_status_id_str":null,"user":{"id":520080564,"notifications":false,"profile_sidebar_fill_color":"DDEEF6","statuses_count":1,"lang":"en","url":null,"time_zone":null,"created_at":"Sat Mar 10 04:18:29 +0000 2012","profile_background_image_url_https":"https://si0.twimg.com/images/themes/theme1/bg.png","utc_offset":null,"profile_background_color":"C0DEED","default_profile":true,"name":"Cosmo Sex School","verified":false,"contributors_enabled":false,"profile_background_image_url":"http://a0.twimg.com/images/themes/theme1/bg.png","location":null,"protected":false,"geo_enabled":false,"profile_link_color":"0084B4","following":false,"listed_count":0,"show_all_inline_media":false,"profile_use_background_image":true,"description":null,"friends_count":0,"id_str":"520080564","profile_text_color":"333333","profile_image_url_https":"https://si0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png","screen_name":"0xd3adbe3f","profile_sidebar_border_color":"C0DEED","follow_request_sent":false,"default_profile_image":true,"profile_image_url":"http://a0.twimg.com/sticky/default_profile_images/default_profile_3_normal.png","is_translator":false,"followers_count":0,"favourites_count":0,"profile_background_tile":false},"retweet_count":0,"in_reply_to_user_id_str":null,"entities":{"hashtags":[],"user_mentions":[],"urls":[]},"place":null,"retweeted":false,"source":"web","contributors":null,"id":178370788997595136,"in_reply_to_screen_name":null,"in_reply_to_user_id":null,"text":"test"}]

@JamesNK JamesNK closed this as completed Mar 10, 2012
@JamesNK
Copy link
Owner

@JamesNK JamesNK commented Mar 10, 2012

Not a bug

@justinflipflops
Copy link
Author

@justinflipflops justinflipflops commented Mar 10, 2012

Then what exactly is the issue that I'm missing? If you would be kind enough to point it out that would be great. Is the returned JSON fubared and I'm not catching it? Or is this a standard exception I should be catching and using to know the end of the processing?

@justinflipflops
Copy link
Author

@justinflipflops justinflipflops commented Mar 10, 2012

Never mind, got it. My apologies it was extremely late yesterday evening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants