小编use*_*882的帖子

Facebook非过期访问令牌

我想在我的网站上显示最后的facebook帖子.我有一个脚本,但它需要访问令牌才能工作.

我按照这篇文章中提到的步骤:

https://neosmart-stream.de/de/facebook/how-to-create-a-facebook-access-token/comment-page-1/#comment-617

现在我有一个访问令牌,有效期为60天但是当我打开https://graph.facebook.com/me/accounts时,我收到此错误:

{
   "error": {
      "message": "An active access token must be used to query information about the current user.",
      "type": "OAuthException",
      "code": 2500
   }
}
Run Code Online (Sandbox Code Playgroud)

因为我的访问令牌有效期是2个月,它应该工作.

facebook token

7
推荐指数
2
解决办法
8726
查看次数

标签 统计

facebook ×1

token ×1