开发者

Whats the difference between Twitter consumer Key and Secret Key?

开发者 https://www.devze.com 2023-03-23 17:20 出处:网络
I am new to Twitter Development. Rig开发者_如何学Goht now, I have both consumer key and secret key provided to me. But I don\'t know where to use which one. A simple javascript code for loging in is n

I am new to Twitter Development. Rig开发者_如何学Goht now, I have both consumer key and secret key provided to me. But I don't know where to use which one. A simple javascript code for loging in is not working. I actually want to tweet the score of the game. Anyone please guide me. Thanks.


Twitter has a great getting started guide. https://dev.twitter.com/start

From twitter's site:

OAuth settings

Your application's OAuth settings. Keep the "Consumer secret" a secret. This key should never be human-readable in your application.

Your access token

Use the access token string as your "oauth_token" and the access token secret as your "oauth_token_secret" to sign requests with your own Twitter account. Do not share your oauth_token_secret with anyone.

0

精彩评论

暂无评论...
验证码 换一张
取 消