Support for Application-only ('bearer') authentication for higher quota limits
See original GitHub issueThe Twitter API offers applications the ability to issue authenticated requests on behalf of the application itself (as opposed to on behalf of a specific user) - these requests are authenticated using bearer tokens and often have much higher API quota limits (eg on the search tweets endpoint you get 450, rather than 180, requests per 15 minute window):
twitter4s
is an excellent library, although unfortunately it currently only supports user-auth so far as I can see - would it be possible to add app-auth for increased API quota?
See also: the PR adding application-only authentication to Twitter4J
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
Hack to make twitter4s support Application-only ('bearer ...
Hack to make twitter4s support Application-only ('bearer') authentication for higher quota limits - AppOnlyAuthentication.scala.
Read more >OAuth Application Rate Limits - Google Support
A new user authorization rate limit that limits how quickly your application can get ... You can request a rate limit quota increase...
Read more >Rate limits | Docs | Twitter Developer Platform
Rate limits and authentication method. Rate limits are set at both the developer App and the user access token levels: OAuth 2.0 Bearer...
Read more >Quotas for your Application Load Balancers
Your AWS account has default quotas, formerly referred to as limits, for each AWS service. Unless otherwise noted, each quota is Region-specific.
Read more >Application Security Verification Standard 4.0
Level 3 - High value, high assurance, or high safety . ... V2.10 Service Authentication Requirements .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As an FYI: the workardoung still works like a charm. Just create the file from the gist (under the correct package) and this will get you going:
(Thanks for this library @DanielaSfregola ! 😃)
At present there is no way to pass a
TwitterAuthenticationClient
to aTwitterRestClient
– and I am going to assume that implementing the missing functionalities forTwitterAuthenticationClient
is going to take a while.Happy to do a patch and make those constructors public again. Would this work?
Cheers, Daniela