旧的API的Facebook access

编程入门 行业动态 更新时间:2024-10-12 20:21:14
旧的API的Facebook access_token响应格式(Facebook access_token response format for old API)

我正在使用旧版本的Facebook access_token端点。 但我找不到服务器返回的expires值的描述..

值为: 5183764

它是什么? 秒数令牌到期? 我试图将当前的Linux纪元时间+转换为日期并且令牌将在十月到期。它可以吗?

I am working with old version of Facebook access_token endpoint. But i cant find description of expires value returned by the server..

The value is: 5183764

What is it? Seconds token expires in? I have tried to convert the current Linux epoch time + returned into date and the token would expire in October.. Is it OK?

最满意答案

它是什么? 秒数令牌到期?

是的,这是令牌到期前的秒数。 https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#exchangecode

我试图将当前的Linux纪元时间+转换为日期并且令牌将在十月到期。它可以吗?

大约两个月是扩展用户访问令牌的生命周期,所以是的 - 听起来不错

What is it? Seconds token expires in?

Yes, it’s the seconds until the token expires. https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#exchangecode

I have tried to convert the current Linux epoch time + returned into date and the token would expire in October.. Is it OK?

About two month is the lifetime of an extended user access token, so yeah – that sounds o.k.

更多推荐

本文发布于:2023-04-29 02:08:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1334466.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:API   Facebook   access

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!