Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I specify the scope with Twitter OAuth?

With Twitter OAuth, the user gets the following:

Twitter app permission request

I only need to post tweets, is it possible to only ask for only that?

Facebook supports a "scope" parameter when requesting authentication, but I don't see anything like that for Twitter: Twitter Authorization

like image 210
ThisGuy Avatar asked Mar 08 '14 02:03

ThisGuy


People also ask

How scope is defined in OAuth?

OAuth Scopes Scope is a mechanism in OAuth 2.0 to limit an application's access to a user's account. An application can request one or more scopes, this information is then presented to the user in the consent screen, and the access token issued to the application will be limited to the scopes granted.

Does Twitter have OAuth2?

App settings You can also enable an App to access both OAuth 1.0a and OAuth 2.0. OAuth 2.0 can be used with the Twitter API v2 only. If you have selected OAuth 2.0 you will be able to see a Client ID in your App's Keys and Tokens section.

What is OAuth in Twitter API?

OAuth 1.0a allows an authorized Twitter developer App to access private account information or perform a Twitter action on behalf of a Twitter account.


1 Answers

I don't think that is possible at the moment. The only permissions available at the app settings page are "Read only", "Read and Write" (which you're using) and "Read, Write and Access direct messages".

like image 110
Vinicius Pinto Avatar answered Oct 11 '22 07:10

Vinicius Pinto