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!

Reply via email to