What is the recommended way to handle errors on the twitter list widget?


#1

Eg when twitter’s capacity is reached? I want a better fallback than an empty widget. ‘ready’ seems to call irrespective to whether or not the widget has loaded correctly.

Here is my js


#2

I’m trying to accomplish the same thing… to actually not render the widget at all if twitter is down or returning any error.
Any progress on this? I’ll let you know if I make any!


#3

https://dev.twitter.com/discussions/3491 shows us the errors that can come from the API… I THINK we can add “response”:{“errors”:[{“message”:“Your account is suspended and is not permitted to access this feature”,“code”:64}]}} to our widget code to handle that particular error (in this case 64) But I’m not sure.

Wish there was a fallback option within the official Twitter widget.


#4