Facebook API错误子代码33

时间:2017-10-20 20:05:09

标签: facebook curl

我有一个应用程序在webhook请求之后从facebook获取leads当潜在客户填写表单时:某些页面会抛出此错误:

{
    "error": {
        "message": "Unsupported get request. Object with ID '233332620530416' 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,
        "error_subcode": 33,
        "fbtrace_id": "HIItB4mggfk"
    },
    "__debug__": {}
}

我在Facebook的API文档中找不到错误子代码描述。

7 个答案:

答案 0 :(得分:4)

相关问题:https://stackoverflow.com/a/48291229/1762092

以下是类似问题的Facebook错误门户网站链接: https://developers.facebook.com/bugs/316526372199563/

它的要点是:

  

这些用户使用他们的电话号码注册Facebook / Messenger,这些用户尚未被API查询。这是API的路线图,请关注我们的更新日志,以便在将来的版本中生效:https://developers.facebook.com/docs/graph-api/changelog"

答案 1 :(得分:1)

检查您是否在https://developers.facebook.com/tools/debug/accesstoken

访问令牌

您的应用可能缺少必要的权限范围。

答案 2 :(得分:0)

我曾经有过几次这个问题,这个错误导致我花了一两个小时来梳理文档。每次我真正的问题都是请求体中的json格式错误(我使用curl)。愚蠢我知道,但如果一个可怜的灵魂遇到这个。在您确定查询错误之前,请务必验证您的json。

答案 3 :(得分:0)

在帖子正文中添加access_token时出现此错误,在向url添加参数时起作用 使用邮递员的成功结果

enter image description here

使用邮递员不成功​​

enter image description here

答案 4 :(得分:0)

我最近找到了答案

使用邮递员执行以下步骤

https://graph.facebook.com/page-name/feed

标题: 内容类型:application / x-www-form-urlencoded

身体: 讯息:“您的讯息”
链接:“您的网络链接” access_token:“您的访问令牌”

我希望这能正常工作

答案 5 :(得分:0)

访问业务设置>用户>系统用户>选择“ Conversions API系统用户”>添加资产。将请求中具有ID的像素添加到系统用户可以访问的资产列表中。

enter image description here

答案 6 :(得分:0)

在授权选项卡中添加您的访问令牌,然后选择 Oauth2.0 并在右侧添加您的访问令牌。请参阅邮递员的屏幕截图。Click here for the screenshot