Instagram访问令牌的到期时间 [英] Instagram access token expiry time

查看:191
本文介绍了Instagram访问令牌的到期时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用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屋!

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