Where can i get consumer key and consumer secret key when i create new app?


#1

Hello,
I have question regarding the consumer key and consumer secret key that I wish to obtain your help.

I just created my twitter app, and on the detail page I have :

Application settings
Your application’s API keys are used to authenticate requests to the Twitter Platform.
Access level Read, write, and direct messages (modify app permissions)
API key XXXXXXX (manage API keys)
Callback URL None
Sign in with Twitter No
App-only authentication https://api.twitter.com/oauth2/token
Request token URL https://api.twitter.com/oauth/request_token
Authorize URL https://api.twitter.com/oauth/authorize
Access token URL https://api.twitter.com/oauth/access_token

I could not find consumer key and consumer secret key. So I went further to the API keys tab and here are what I have :

Application settings
Keep the “API secret” a secret. This key should never be human-readable in your application.
API key XXXXXXXXXXXXXXXXXXXXXXXX
API secret XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Access level Read, write, and direct messages (modify app permissions)
Owner XXXXXXXXXXXXXXXXXXXXXXXXXXXX
Owner ID XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Application actions
Regenerate API keysChange App Permissions
Your access token
This access token can be used to make API requests on your own account’s behalf. Do not share your access token secret with anyone.
Access token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Access token secret XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Access level Read, write, and direct messages
Owner XXXXXXXXXXXXXXXXXXXXXXXX
Owner ID XXXXXXXXXXXXXXXXXXXXXXXXXXX

Again , I could not find the consumer key and consumer secret key there. So my question is that do I need the consumer key and consumer secret key to make the api call ? If i do , then how could I get them since I was looking everywhere and could not find them? Could I replace the consumer key and consumer secret key with my api key and api secret key for the api call?

Thanks so much for all of your help,


#2

Consumer key = API key
Consumer secret = API secret