Facebook Android SDK 当 Facebook 请求失败时调用 facebook.authorize
每当我的应用程序向 facebook 发出的请求失败时,我都会尝试调用 facebook.authorize。
但它会抛出 Can't create handler inside thread that has not called Looper.prepare() inside
侦听器错误。
我正在 Facebook 错误处理程序上的 try-catch 中进行调用。
还有其他方法来处理这个问题吗?
I am trying to call facebook.authorize whenever a request made by my app to facebook fails.
But it throws a Can't create handler inside thread that has not called Looper.prepare() inside
listener error.
I am making the call from a try-catch on Facebook error handler.
Is there another way of handling this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这个问题在这里解决了
Facebook 授权在 Android Asynctask 或主题
This problem is solved over here
Facebook authorize not working inside Android Asynctask or Thread