Facebook 错误代码列表
我正在寻找当您尝试使用 Graph API 获取信息时 Facebook 可以返回的所有列表。有人可以帮忙吗?
Facebook 返回 400 HTTP 错误和 JSON 内容,例如:
{
"error": {
"type": "OAuthException",
"message": "Invalid OAuth access token signature."
}
}
我正在搜索可能获得的同类的不同返回。
I'm looking for a list of all Facebook can return when you try to fetch infos using Graph API. Can anyone help?
Facebook returns a 400 HTTP error, and a JSON content like:
{
"error": {
"type": "OAuthException",
"message": "Invalid OAuth access token signature."
}
}
I'm searching the different returns of the same kind it is possible to get.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Facebook 曾经在某处发布过此内容,但无论出于何种原因它被删除了。但您可以在这里找到完整列表:
http://www.takwing.idv.hk/tech/fb_dev /faq/general/gen_10.html
Facebook used to have this published somewhere, but for whatever reason it was removed. But you can find the full list here:
http://www.takwing.idv.hk/tech/fb_dev/faq/general/gen_10.html
现在似乎有一个错误列表。
我在这里发布了同一问题的答案:Facebook Graph API 错误代码列表< /a>
(我在这里找到了列表 https:/ /developers.facebook.com/docs/graph-api/using-graph-api/error-handling)
There seems to be a list now for the errors.
I posted answer for the same question here: Facebook Graph API error code list
(I found the list here https://developers.facebook.com/docs/graph-api/using-graph-api/error-handling)
如果 Takwing 的副本失败,这里还有另一个副本:http://fbdevwiki.com/wiki/Error_codes
这些代码主要用于 REST API,但它们也提供了 Graph API。某些 Graph API 调用具有返回 FQL 错误代码的底层 FQL 调用。直接 FQL 查询仍然是当前接受的 API 的一部分。
更新:我正在努力使这个列表保持最新。当您遇到新错误时,请随时进行更改。
In case Takwing's copy ever comes down, here's another copy: http://fbdevwiki.com/wiki/Error_codes
These codes were primarily for the REST API, but they do also come up with the Graph API. Some of the Graph API calls have underlying FQL calls that return the FQL error codes. And the direct FQL queries are still part of the currently accepted API.
Update: I'm trying to keep this list up-to-date. Please feel free to make changes as you encounter new errors.
我试图根据以前的过时信息保留更新的错误代码列表。
您可以在这里找到该存储库 http://github.com/phwd/fbec 并且它已更新为测试 Facebook 文档中的用户和信用错误代码。
目前正在寻找“错误代码 2500”的常量名称,一些错误描述可能已更改。我希望能继续关注这一点。
I am trying to keep an updated list of error codes based on previous outdated information.
You can find the repo here http://github.com/phwd/fbec and it has been updated with Test User and Credit Error codes from the Facebook Documentation.
Currently looking for the constant name for "Error Code 2500" and some error descriptions may have changed. I hope to keep on top of this.
现在有一个官方错误代码页:
https://developers.facebook .com/docs/marketing-api/error-reference/
它看起来仍然不全面......
There is an official error code page, now:
https://developers.facebook.com/docs/marketing-api/error-reference/
It still doesn't look comprehensive...