English 中文(简体)
重新设置我的应用程序在Twitter上的密钥会取消我的用户访问标牌吗?
原标题:Will resetting my Application s keys in Twitter invalidate my users access tokens?

我有我的消费钥匙 和秘密的硬码 进入了应用程序,我的工作。

现在我想把钥匙锁上 这样只有管理员才能拿到 消费钥匙/机密

我喜欢重设我的应用程序密钥, 但让我的用户访问密钥和秘密, 这样他们就不会成为重生的力量。

从我的测试看,它看起来像是罚款(旧的存取键继续用新应用程序键打杂工作)。

是否是OAuth标准或Twitter特写的一部分?

编辑: 从经验来看,我现在看到用户存取的标牌并没有失效。 这不是OAUT, 只是Twitter上的一般性的东西。

问题回答

在理论上,它不应该起作用,因为OAUTS访问标牌与Twitter提供的消费者钥匙和消费者秘密有关。

事实上,你说的对,它会有效,因为你重置了已经存在的应用程序的消费者证书。有了新的消费者密钥/绝密配对的应用程序,我看不出有什么理由这行不通。

访问标记与应用程序相关, 而不是与申请证书相关。 这意味着现有的访问标记将不会对您创建的任何新应用程序有效 。





相关问题
Understanding Twitter API s "Cursor" parameter

I don t really get how to use the Curesor parameter in Twitter s API, for an exmaple - here. Am I supposed to make a new API call for each 100 followers? I d love it if someone could provide a PHP ...

Cannot get Twitter-OAuth-iPhone to work

demo works as expected, no problems. But now I m trying to integrate it into my project. I use no xib-s, code only: OAuthTwitterDemoViewController *vc = [[OAuthTwitterDemoViewController alloc] init]; ...

Creating a constantly updating feed like Twitter

I d like to have something in my app that is just like Twitter but not Twitter. Basically it will be a place people can submit messages and do not need an account. They only way they can submit is ...

RegEx: Link Twitter-Name Mentions to Twitter in HTML

I want to do THIS, just a little bit more complicated: Lets say, I have an HTML input: <a href="http://www.example.com" title="Bla @test blubb">Don t break!</a> Some Twitter Users: @...

twitter status update using tweetsharp oauth preview 17

I am trying to update the status using tweetsharp oauth preview 17. Please let me know how ?. I tried this code var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, ...

How to test the twitter API locally?

I m trying to write a web application that would use Twitter via OAuth. I run my local server as localhost , so I need the callback URL to be something like http://localhost/something/twitter.do ...

Get follower count on Twitter API search results

What I m trying to do is pull some search results, and sort them by users. Right now I m using $to->OAuthRequest( http://search.twitter.com/search.json , array( q => search-term ), GET ); to ...

热门标签