How can I avoid asking twitter to grant access for my app everytime the user signs in to my website?

我的未来我决定 提交于 2020-01-13 05:38:09

问题


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.

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)?


回答1:


Use http://api.twitter.com/oauth/authenticate?oauth_token=zyx instead of /oauth/authorize?oauth_token=xyz.

Read more on the Sign in with Twitter and GET oauth/authenticate documentation.



来源:https://stackoverflow.com/questions/9909699/how-can-i-avoid-asking-twitter-to-grant-access-for-my-app-everytime-the-user-sig

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!