How do we can check oauth rate limit


#1

Hi Guys,

Is there any way to check the rate limit in oauth.
I want to Paused my application for an hour if the hit count is 348

Any Idea how we can do this.

In rest api twitter is provider the query to get the Remaining hits.

but how we can check the remaining rate in oauth…

Please Help Me

Thanks


#2

The current rate limit for the user identified through OAuth is available to you in the HTTP headers of each response to a request you make. Alternately, you can make a request to [node:13]. Consider looking at the [node:141, hash=“checking”].