【问题标题】:You have already authorized yourapp您已经授权您的应用
【发布时间】:2013-04-10 04:19:48
【问题描述】:

我已将社交身份验证 android.jar 与我的应用程序集成。当我打开 Facebook 活动时,它会将我带到登录屏幕,然后显示“您已经授权您的应用程序”, 带有取消和确定按钮。当我按下任何按钮时,它给我一个错误“验证码为空”。

日志如下:

04-17 08:24:35.266: I/Choreographer(892): Skipped 50 frames!  The application may be doing too much work on its main thread.
04-17 08:24:36.005: I/Choreographer(892): Skipped 73 frames!  The application may be doing too much work on its main thread.
04-17 08:24:37.226: D/SocialAuth-WebView(892): Override url: fbconnect://success#access_token=BAACCZB9kzh04BAInZAmZCqfeFKRMj6hgee0SPfF88iISLsLm0LST0VedaN4CiHVvJU7ZAZAr37XseCfy2cZBZBpTOvqcLNgIINV1cNdaQ5W2FYEtSvZCtZBpiQaT9fKTY7U7QPNLlotRJallfpvgKZAH5CYcZAHESWAM0SOnCCbIwsSqF8YM4NmiF8dL7osVZCUJy0JNw8HDXZCre6wZDZD&expires_in=5182406
04-17 08:24:37.306: I/SocialAuthManager(892): Connecting provider : facebook
04-17 08:24:37.306: I/FacebookImpl(892): Retrieving Access Token in verify response function
04-17 08:24:37.348: I/OAuth2(892): Verifying the authentication response from provider
04-17 08:24:37.348: W/System.err(892):  org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-17 08:24:37.348: W/System.err(892):  at org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:114)
04-17 08:24:37.348: W/System.err(892):  at org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:102)
04-17 08:24:37.348: W/System.err(892):  at org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java:164)
04-17 08:24:37.375: W/System.err(892):  at org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:154)
04-17 08:24:37.375: W/System.err(892):  at org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
04-17 08:24:37.375: W/System.err(892):  at org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(SocialAuthDialog.java:266)
04-17 08:24:37.375: W/System.err(892):  at java.lang.Thread.run(Thread.java:856)
04-17 08:24:37.375: D/SocialAuthError(892): org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-17 08:24:37.375: D/Facebook(892): Authentication Error
04-17 08:24:37.410: I/Choreographer(892): Skipped 31 frames!  The application may be doing too much work on its main thread.
04-17 08:24:38.165: I/Choreographer(892): Skipped 48 frames!  The application may be doing too much work on its main thread.

【问题讨论】:

  • 你为什么不给我们看一些代码?我们不是心灵感应你知道的......

标签: android facebook-graph-api oauth


【解决方案1】:

http://code.google.com/p/socialauth-android/issues/detail?id=52

这个问题已经解决了。 Facebook 对其登录机制进行了一些更改,这就是发生这种情况的原因(根据社交身份验证人员的说法)。

【讨论】:

  • 我也面临相同的登录,然后显示此应用已获得授权。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-02-26
  • 1970-01-01
  • 2012-05-30
  • 2018-06-26
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多