Mainly to get instant rate limitations (explained here › https://dev.twitter.com/docs/rate-limiting#feature-limiting), in order to call the service the cleanest way possible : on every request, it is possible to get those infos via the X-FeatureRateLimit-Limit, X-FeatureRateLimit-Remaining and X-FeatureRateLimit-Reset sent in the response header.
It is possible to get thse information by calling another endpoint (https://dev.twitter.com/docs/api/1/get/account/rate_limit_status), but well, at some point seems to consume your quota, wich makes it kind of irrelevant.
My problem is, impossible to get how to read those specific headers…
Might not be that hard, but, if any help by anyone, thanks.
you can use twitter API wrapper that handles http header itself: