Getting new Twitter API consumer and secret keys

后端 未结 9 2076
名媛妹妹
名媛妹妹 2020-12-12 11:04

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?

相关标签:
9条回答
  • 2020-12-12 11:49

    This slide show shows how to get both keys updated June 2013.

    http://www.slideshare.net/Tweetganic/generate-twitter-applications

    0 讨论(0)
  • 2020-12-12 11:50

    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.

    0 讨论(0)
  • 2020-12-12 11:50
    1. Log into the Twitter Developers section.

      • If you don't already have an account, you can login with your normal Twitter credentials
    2. Go to "Create an app"

    3. Fill in the details of the application you'll be using to connect with the API

      • Your application name must be unique. If someone else is already using it, you won't be able to register your application until you can think of something that isn't being used.
    4. Click on Create your Twitter application

    5. Details of your new app will be shown along with your consumer key and consumer secret.

    6. If you need access tokens, scroll down and click Create my access token

      • The page will then refresh on the "Details" tab with your new access tokens. You can recreate these at any time if you need to.

    By default your apps will be granted for read-only access. To change this, go to the Settings tab and change the access level required in the "Application Type" section.

    Existing apps

    To get the consumer and access tokens for an existing application, go to My applications (which is available from the menu in the upper-right).

    0 讨论(0)
提交回复
热议问题