Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我希望通过OpenAPI从facebook收件箱中检索信息,但失败了_Facebook_Api_Attachment - Fatal编程技术网

我希望通过OpenAPI从facebook收件箱中检索信息,但失败了

我希望通过OpenAPI从facebook收件箱中检索信息,但失败了,facebook,api,attachment,Facebook,Api,Attachment,我希望通过开放API从Facebook收件箱中检索信息,但失败了。 我尝试在Graph API explorer中运行url 481315825357933?fields=attachment 结果是: { "error": { "message": (#100) Unknown fields: attachment., "type": OAuthException, "code": 100 } } 然后,我还运行FQL: SELECT message_id,

我希望通过开放API从Facebook收件箱中检索信息,但失败了。 我尝试在Graph API explorer中运行url

481315825357933?fields=attachment
结果是:

{
  "error": {
    "message": (#100) Unknown fields: attachment.,
    "type": OAuthException,
    "code": 100
  }
}
然后,我还运行FQL:

SELECT message_id, thread_id, author_id, body, created_time, viewer_id, attachment FROM message WHERE thread_id = 481315825357933
结果如下:

{
  "data": [
    {
      "message_id": "481315825357933_1435213395",
      "thread_id": "481315825357933",
      "author_id": "10153118278408579",
      "body": Print it!,
      "created_time": 1435213395,
      "viewer_id": "1595482814036523",
      "attachment": [
      ]
    },
    {
      "message_id": "481315825357933_1435213454",
      "thread_id": "481315825357933",
      "author_id": "10153118278408579",
      "body": Print it.,
      "created_time": 1435213454,
      "viewer_id": "1595482814036523",
      "attachment": {
        "media": [
        ],
        "name": ,
        "caption": ,
        "description": ,
        "properties": [
        ],
        "fb_object_type": ,
        "fb_object_id": "",
        "icon": https://fbstatic-a.akamaihd.net/rsrc.php/v2/yD/r/aS8ecmYRys0.gif,
        "tagged_ids": [
        ]
      }
    }
  ]
}
Facebook API是否禁止附件信息


事先谢谢。

在:
/{message id}/attachments