Sigh. I wrote a polling solution to fetch the rate limit info before discovering that the info is in the headers of every HTTP response.
If you’re interested, here’s a commit to TalkingPuffin where I removed the polling and used the headers instead: http://github.com/dcbriccetti/talking-puffin/commit/237a204721c7141967c8065b45b53d5489ef7b83 http://apiwiki.twitter.com/Rate-limiting