To properly authenticate and use the Twitter API you will have to create a developer application. Then, you can generate a client ID and client secret to use with this project.
-
Create a Twitter developer account here: Twitter Developer Portal
-
Create an project and application.
Use
http://localhost:8080
as the 'Callback URI / Redirect URL' Usehttp://github.com/jarulsamy/Twitter-Archive
as the Website URL -
Generate an OAuth 2.0 client ID and client secret by following this documentation: Twitter API Key and Secret Docs
-
Save your tokens to use with this application.
-
Ensure your 'User authentication settings' look something like this: