Rate limit exceeded for widgets


#1

HTML page: http://htmlcssjs.ru/CSS/?24

Widget code on the page:

Error opening http://api.twitter.com/1/statuses/user_timeline.json?screen_name=htmlcssjsru&callback=TWTR.Widget.receiveCallback_1&include_rts=true&count=3&clientsource=TWITTERINC_WIDGET&1318501892982=cachebust

Code inside the above URL:

TWTR.Widget.receiveCallback_1({"error":"Rate limit exceeded. Clients may not make more than 150 requests per hour.","request":"\/1\/statuses\/user_timeline.json?screen_name=htmlcssjsru&callback=TWTR.Widget.receiveCallback_1&include_rts=true&count=3&clientsource=TWITTERINC_WIDGET&1318501892982=cachebust"})

Outcome: the widget is not displayed. How come? I’m not polling anything, the widget is static.


#2

This happens because essentially the widgets are API clients like any other API client – but they are making unauthenticated requests to the API, for which a single IP address has only 150 requests per hour. If any other device, web browser, or app on your IP address were making unauthenticated requests to the API at a given block of time, it would be decrementing from the pool.

When another user is viewing the widget from a different IP address, they most likely see it display just fine.


#3

When there are a large number of users sharing an IP address such as behind a NAT device this is problematic. This is a fairly typical problem on corporate networks and on campus. I’ve also seen this issue appear on iPhone when using the mobile view.


#4

Do you know how I can authorize widgets ?

And if not does twitter have any similar facility where I can fetch my tweets and display them ?

It is very frustrating when it comes to modifying the styles with given “ready made widget”.

Regards
Amjad


#5