0

当我尝试使用已经生成的访问令牌时,在 this 上https://graph.facebook.com/4921782178422?fields=id&access_token=ACCESS_TOKEN,它给了我这个作为回应:

{
 "error": {
  "message": "Unsupported get request. Object with ID '4921782178422' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
  "type": "GraphMethodException",
  "code": 100,
  "fbtrace_id": "F2ot2MGcBBM"
   }
}

Facebook 写道,所有访问令牌都有权访问 public_profile,但我无法使用上面的链接。4921782178422 是用户 ID。

当我使用自己的用户访问令牌时,它工作正常,但这仅在 1 小时内有效,而且我需要的时间更长。

我已按照以下步骤操作: facebook:永久页面访问令牌?

我做错了什么?

4

0 回答 0