Cameron's solution looks like a good one at this time. This issue [1] tracks
the problem.

1. http://code.google.com/p/twitter-api/issues/detail?id=220

Doug Williams
Twitter API Support
http://twitter.com/dougw


On Thu, Mar 19, 2009 at 4:10 PM, Cameron Kaiser <spec...@floodgap.com>wrote:

>
> > While grabbing the latest tweets from the friend timeline I will
> > occasionally receive the full page HTML to the Twitter - Over capacity
> > page ('Twitter is over capacity. Too many tweets', etc). This breaks
> > my JSON parser and causes a nasty error. I pretty sure I'm accurately
> > checking for HTTP status codes, so what am I doing wrong here?
>
> I have guard code in my parser to see if the raw data looks like HTML. If
> it does, it prints an error message.
>
> --
> ------------------------------------ personal:
> http://www.cameronkaiser.com/ --
>  Cameron Kaiser * Floodgap Systems * www.floodgap.com *
> ckai...@floodgap.com
> -- We won. Every computer in the world is basically a Mac now. -- S.
> Wozniak --
>

Reply via email to