简体   繁体   English

如何获取Twitter的AccessToken和AccessTokenSecret?

[英]How to Obtain AccessToken and AccessTokenSecret for Twitter?

HI I register application with Twitter. 您好我在Twitter上注册了应用程序。 as a result I got all necessary information (consumer key, consumer secret, api key etc) except AccessToken and AccessTokenSecret. 结果,我获得了除AccessToken和AccessTokenSecret之外的所有必要信息(消费者密钥,消费者机密,api密钥等)。

How to get them? 如何获得它们?

go to the link below: https://dev.twitter.com/apps/new 转到下面的链接: https : //dev.twitter.com/apps/new

Fill up the form then submit. 填写表格,然后提交。

At the right navigation you will find the nav named 'My Access Token' click it 在右侧导航中,您将找到名为“我的访问令牌”的导航,单击它

now you will get your Access Token and AccessTokenSecret 现在您将获得访问令牌和AccessTokenSecret

If you only need a to use a single token... 如果您只需要使用一个令牌即可...

To retrieve your own access token, go to the detail page of one of your applications and select the My Token link from the sidebar. 要检索自己的访问令牌,请转到您的应用程序之一的详细信息页面,然后从边栏中选择“我的令牌”链接。

http://dev.twitter.com/pages/oauth_single_token http://dev.twitter.com/pages/oauth_single_token

Otherwise, you will need to attain the AccessTokens you need programmatically using OAuth. 否则,您将需要使用OAuth以编程方式获得所需的AccessToken。

http://dev.twitter.com/auth http://dev.twitter.com/auth

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用Firebase获取Oauth accessToken和OAuth密码以在Unity C#中对Twitter进行身份验证 - How to get the Oauth accessToken and OAuth secret for authentication to Twitter in Unity C# using Firebase 如何将角色声明包含到访问令牌中? - How include roleclaim to accesstoken? 如何获取 AccessToken - How to get AccessToken C#:无法获取Accesstoken。 Google Calendar API - C# : Unable to obtain Accesstoken. Google calendar API ASP.NET MVC 4:成功登录后如何从Twitter获取用户信息? - ASP.NET MVC 4: How to Obtain User Information from Twitter After Successful Login? 如何在C#WPF应用程序中保存accessToken - How to save an accessToken in C# WPF application LinqToDB 如何将 AccessToken 添加到数据库连接 - LinqToDB How to add AccessToken to database connection 如何从Orange Message API获取AccessToken - How To Get AccessToken From Orange Message Api 如何使用登录用户的AccessToken实例化Microsoft GraphClient? - How to instantiate Microsoft GraphClient with signed-in user's AccessToken? 如何在Oauth2中同时撤销RefreshToken和使AccessToken失效 - How to revoke the RefreshToken and invalidate the AccessToken at the same time in Oauth2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM