Watch the YouTube Tutorial: https://m.youtube.com/watch?si=swqzAXiSTFOXZiFo&v=3WneMPnOu88
1
Create a new app
Head over the Twitter developers page and create a new app.
Click to sign-up for a new free account

2
Edit application settings
Click to edit the application settings

3
Set up authentication flow
Click to set up an authentication flow

- In the App Permission set it to
Read and Write - In the Type of App set it to
Web App, Automated App or Bot - In the App Info set the
Callback URI / Redirect URL
4
Configure OAuth2 Redirect URI
Replace
{provider} with x in the redirect URI.5
Copy your API keys
Save it and go to “Keys and Tokens” tab.Click on “Regenerate” inside “Consumer Keys” and copy the
API Key and API Key Secret.Open .env file and add the following:
