我希望通过OpenAPI从facebook收件箱中检索信息,但失败了
我希望通过开放API从Facebook收件箱中检索信息,但失败了。 我尝试在Graph API explorer中运行url我希望通过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,
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