You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the HTTP headers are contextual. When using application-only authentication, they indicate the rate limit for the application context. When using user-based authentication, they indicate the rate limit for that user context. x-rate-limit-limit: the rate limit ceiling for that given endpoint x-rate-limit-remaining: the number of requests left for the 15-minute window x-rate-limit-reset: the remaining window before the rate limit resets, in UTC epoch seconds
From what I understand, it's not possible to get these headers using BirdElephant, is that correct?
Thank you very much 😊
The text was updated successfully, but these errors were encountered:
It would definitely be useful to be able to access these, after we make a request to Twitter API :)
Saving them to some private field and then some function like ->getLastCallHeaders().
Another suggestion is to rename $request to $response, just to be clear that what's returned into that variable is a Response :)
Hey!
When making requests to the Twitter API, they return headers as described here:
https://developer.twitter.com/en/docs/twitter-api/rate-limits
From what I understand, it's not possible to get these headers using BirdElephant, is that correct?
Thank you very much 😊
The text was updated successfully, but these errors were encountered: