fbgraph错误代码
有谁知道在哪里可以找到 FBGraph 的所有错误代码和错误类型?在处理错误时,我想检查 FBGraph 抛出的错误(例如:重复发布错误、访问令牌过期错误)并采取相应措施。 (我正在研究 Ruby On Rails 3)
我参考了 文档,但它没有列出所有错误的代码和类型。在哪里可以找到这些错误代码?
谢谢... :)
Does anyone know where can I find all the error code and error type for FBGraph? While handling error, I want to check what error FBGraph throws (like: duplicate post error, access token expire error) and take action accordingly. (I a working on Ruby On Rails 3)
I referred the documentation, but it doesn't list out the code and type of all the errors. Where can I find these error codes?
Thanks... :)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这长期以来一直是使用 Graph API 的一个问题。任何地方都没有关于您可能收到的所有可能错误的文档。此外,您会随机收到一些错误,而当您再次发出相同的请求时,这些错误不会发生(即 错误)。
许多 Graph API 似乎都有一个进行 FQL 查询的底层结构。因此,当这些基于 FQL 的查询抛出错误时,您可以在此处找到代码: http://fbdevwiki.com/ wiki/Error_codes#FQL_Errors
This has long been a problem with using the Graph API. There's no documentation anywhere as to all the possible errors that you can receive. Additionally there are errors that you receive randomly that don't occur when you make the same request again (ie bugs).
A lot of the Graph API seems to have an underlying structure that makes FQL queries. So, when those FQL based queries throw an error you can find the code here: http://fbdevwiki.com/wiki/Error_codes#FQL_Errors