Home>

I would like to allow users who log in with Twitter OAuth authentication to acquire follower information inside the application, but I would like to confirm the rate limit of Twitter API, so I would like to lend you some wisdom.

Twitter API restrictions

It is a condition that it is restricted to use the API from the same account and the same access source, so if you perform OAuth authentication of Twitter for service registration and hit the API from the user's account, it will not be affected by the number of accesses You can use the Twitter API for.

In the past question, the above answer was given, but if you hit the API from the server side, the same rate limit will be applied to all user requests, but if you hit the API from the client side, one user Is it correct to understand that different rate limits apply to one person?

Also, is it the same for serverless that the same rate limit is applied when you hit the API on the server side?

  • Answer # 1

    Is this correct in the understanding that hitting the API from the server side applies the same rate limit to all user requests, but hitting the API from the client side applies a different rate limit to each user? ??

    wrong.

    Rate Limiting

    Rate limiting of the standard API is primarily on a per-user basis — or more accurately described, per user access token.