I am using PHP Bird Elephant, and they are using /2/users/by/username for getting user tweets.
In the documentation I can see the following :
GET /2/users/by/username/:username
Rate limit
App rate limit (OAuth 2.0 App Access Token): 900 requests per 15-minute window shared among all users of your app
User rate limit (OAuth 2.0 user Access Token): 900 requests per 15-minute window per each authenticated user
But when I execute my script, I have an error very early, and here is what I can see in my header :
x-rate-limit-limit": 300
Why is there a difference between the documentation and the return (and rate limit) of the server?
This is very confusing and blocking my developments.