Are these authenticated API requests? If the are unauthenticated there is probably some other application originating from that IP eating up the the API hits. I just test rate_limit_status several times unauthenticated and saw no change in remaining hits.
On Tue, Jun 2, 2009 at 15:54, ballan <[email protected]> wrote: > > Hey all, > > I am re-creating a feed that that will be displayed in a custom > widget. However, the rate limit is being reached almost right away, > even though this is currently in development, and only a handful of > people would be looking at this. > > I have implemented the following steps to avoid this: > > 1. Check the account/rate_limit_status > 2. If remaining hits are less then 5, return true, otherwise false > (for limitExceeded) > 3. If false, proceed to show feed > 4. If true, show custom error feed showing rate limit error (no calls > to the API are made) > 5. Caching is on both page level and the feed > > Caching aside, remaining-hits should never be less then 5. However, it > continues to drop, at about a rate of 4 per refresh. Calls to account/ > rate_limit_status are supposedly unlimited, but it seems to be the > only thing causing the rate-limit to drop. Could this be a bug? > > Thanks! > -- Abraham Williams | http://the.hackerconundrum.com Hacker | http://abrah.am | http://twitter.com/abraham Project | http://fireeagle.labs.poseurtech.com This email is: [ ] blogable [x] ask first [ ] private. Sent from Madison, Wisconsin, United States
