Getting new Twitter API consumer and secret keys

后端 未结 9 2091
名媛妹妹
名媛妹妹 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:36

    From the Twitter FAQ:

    Most integrations with the API will require you to identify your application to Twitter by way of an API key. On the Twitter platform, the term "API key" usually refers to what's called an OAuth consumer key. This string identifies your application when making requests to the API. In OAuth 1.0a, your "API keys" probably refer to the combination of this consumer key and the "consumer secret," a string that is used to securely "sign" your requests to Twitter.

提交回复
热议问题