如何避免每次用户登录我的网站时都要求 Twitter 授予我的应用程序访问权限? [英] How can I avoid asking twitter to grant access for my app everytime the user signs in to my website?
本文介绍了如何避免每次用户登录我的网站时都要求 Twitter 授予我的应用程序访问权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用 Twitterizer,效果很好.我有一个网站(.NET 4,C#),用户访问和登录...我存储令牌等一切都很好.
I am using Twitterizer which works great. I have a website (.NET 4, C#) where a user visits and signs-in... I store tokens e.t.c everything works great.
问题是我怎样才能避免要求用户通过 Twitter 授予对我的应用程序的访问权限,因为我已经第一次这样做了(假设用户已经在我浏览器的不同选项卡中登录了 Twitter)?
The question is how can I avoid asking the user to grant access to my app via twitter since I already did this once the first time (and let's say user is already signed in twitter in a different tab on my browser)?
推荐答案
使用 http://api.twitter.com/oauth/authenticate?oauth_token=zyx
而不是 /oauth/授权?oauth_token=xyz
.
阅读有关使用 Twitter 登录 和GET oauth/authenticate 文档.
这篇关于如何避免每次用户登录我的网站时都要求 Twitter 授予我的应用程序访问权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文