I am working on a Twitter project where I want to use OAuth but I don't know where to get the consumer and secret keys.
How can I get these?
To get Consumer Key & Consumer Secret, you have to create an app in Twitter via
https://developer.twitter.com/en/apps
Then you'll be taken to a page containing Consumer Key & Consumer Secret.