Instagram访问令牌的到期时间 [英] Instagram access token expiry time
问题描述
我正在使用Instagram令牌登录.
I am using Instagram token for login.
登录后,我也获得了令牌,但是该令牌不是永久的.它会在一段时间后过期.令牌过期后该怎么办;或我们怎么知道令牌将过期?
After login, I am getting token also, but that token is not permanent. It will expire after some times. What should we do after token is expired; or how can we know that token will got expired?
推荐答案
Use the Access Token Debugger found here: https://developers.facebook.com/tools/debug/accesstoken/
输入您的用户访问令牌,然后单击调试".在底部,有一个标记为扩展访问令牌"的按钮.这会将您的短期令牌转换为长期令牌.我仍在尝试找出如何以编程方式执行此操作.如果有人知道,请告诉我.我正在使用ColdFusion 9(是的,我知道我落后了).
Enter your User Access Token and click "Debug". At the bottom, there is a button labeled "Extend Access Token". That will convert your short-lived token to a long-lived token. I'm still trying to figure out how to do this programmatically. If anyone knows, please let me know. I'm using ColdFusion 9 (yeah I know I'm way behind).
这篇关于Instagram访问令牌的到期时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!