Authentication Method
The Twitter plugin uses OAuth 2.0 authentication.oauth_2- OAuth 2.0 user authentication
OAuth 2.0 Setup
Step 1: Create a Twitter Developer App
- Go to developer.twitter.com
- Click + Add app or Create Project
- Fill in the app name and description
- Select OAuth 2.0 as the authentication type
Step 2: Configure OAuth Settings
- In your app settings, go to User authentication settings
- Enable OAuth 2.0
- Set App permissions to Read and write
- Add your Callback URI (e.g.,
http://localhost:<port>for CLI flow) - Add your Website URL
- Click Save
Step 3: Get Client Credentials
- Go to Keys and Tokens
- Copy the OAuth 2.0 Client ID and Client Secret
- Store these securely
Required Credentials Summary
| Credential | Required For | Where to Find |
|---|---|---|
| Client ID | OAuth 2.0 | Developer Portal → Keys and Tokens |
| Client Secret | OAuth 2.0 | Developer Portal → Keys and Tokens |