2

我已将社交身份验证 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.
4

1 回答 1

3

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

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

于 2013-04-22T10:36:17.340 回答