难道Twitter的访问令牌会过期吗? [英] Do twitter access token expire?

查看:548
本文介绍了难道Twitter的访问令牌会过期吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立从用户可以管理自己的twitter账户的web应用程序。我创建了Twitter的应用程序,一旦用户验证自己的应用程序从Twitter获得访问令牌。这是否访问令牌过期或者我可以存储,并做出要求,代表用户的,从没有要求他重新登录?

I am building a web app from where the user can manage his twitter account. I've created the twitter app and once the user authenticates himself the application gets the access token from twitter. Does this access token expire or I can store it and make request, on user's behalf, without asking from him to log in again ?

推荐答案

下面就是他们说的话在那里开发页面

Here is what they saying in there development page

问:多长时间的访问令牌持续

Question: How long does an access token last?

答::我们不会目前过期的访问令牌。您的访问令牌会
  无效的,如果用户明确拒绝从他们的应用程序
  设置或如果一个微博管理员暂停您的应用程序。如果你的
  暂停应用程序将有你的​​应用程序页面上的音符
  说,它已暂停。

Answer: We do not currently expire access tokens. Your access token will be invalid if a user explicitly rejects your application from their settings or if a Twitter admin suspends your application. If your application is suspended there will be a note on your application page saying that it has been suspended.

在本身??相当自我解释

Quite self explanatory in itself??

更多细节可以在这里找到。

More details can be found here

常见问题解答微博

这篇关于难道Twitter的访问令牌会过期吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆