作者热门文章
- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
很遗憾这个问题被问了好几次都没有正确回答。
这个错误已经出现在很多人试图授权一个应用程序和人们不得不说的唯一提示是重启手机或删除缓存。
现在这可能对几个人有用,但它并不是真正的解释,也不是一个严肃的解决方案。
网络上没有任何关于此错误的解释,所以我希望有人可以解释不同的错误编号,这样我就可以找出我的问题所在,并拥有某种类型的数据中心来处理不同类型的错误,正如没有人解释的那样。
到目前为止我和我在主题中发现的错误:
Error- 417 Expectation Failed
The 417 status code means that the server was unable to properly complete the request. One of the headers sent to the server, the "Expect" header, indicated an expectation the server could not meet.
有人可以解释这些错误中的任何一个或一般提示吗?
对于我的问题,我使用文档中发布的授权方法的标准代码,
日志:
06-10 23:48:11.872: D/Facebook-WebView(1358): Webview loading URL: https://m.facebook.com/dialog/oauth?type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&client_id=MYAPPID
06-10 23:48:11.884: W/webcore(1358): Can't get the viewWidth after the first layout
06-10 23:48:11.899: V/webview(1358): OnSizeChanged: Enter
06-10 23:48:11.903: D/Facebook-authorize(1358): Login failed: com.facebook.android.DialogError: The connection to the server was unsuccessful
06-10 23:48:11.903: D/Facebook-WebView(1358): Webview loading URL: https://m.facebook.com/dialog/oauth?type=user_agent&redirect_uri=fbconnect%3A%2F%2Fsuccess&display=touch&client_id=MYAPPID
最佳答案
我有同样的错误。
Facebook 应用程序(不是我正在开发的应用程序)似乎无法正常工作,更确切地说,它没有连接到互联网。
我是这样解决的:
关于android - 如何调试 "DialogError: The connection to the server was unsuccessful"错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10972305/
我是一名优秀的程序员,十分优秀!