未找到Facebook对象

时间:2018-04-09 10:36:34

标签: facebook facebook-graph-api

通过Facebook Graph API,可以通过以下GET-Request获取活动的封面图片:

https://graph.facebook.com/169768270447838?fields=cover&access_token=<ACCESS_TOKES>

以下活动ID适用(UrL:https://www.facebook.com/events/925315510978238/):

  

925315510978238

但对于其他事件ID,它不再起作用(https://www.facebook.com/events/169768270447838/):

  

169768270447838

{
"error": {
    "message": "Unsupported get request. Object with ID '169768270447838' 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": "CnDEBaBv1HG"
}

}

它在几天前工作了,我不知道为什么它不再起作用了。

1 个答案:

答案 0 :(得分:1)

最有可能与此相关:

  

今天开始测试我们更强大的流程,新流程应在几周后恢复,但目前访问事件和群组API的应用程序今天将无法访问。

来源:https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes

这对您来说也很有趣:https://developers.facebook.com/docs/graph-api/changelog/breaking-changes