RoshniKyada / socialauth-android

Automatically exported from code.google.com/p/socialauth-android
0 stars 0 forks source link

Facebook login not working! #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when I approve permissions to the fb web app, the api is showing some error.
2. doesnt call onComplete after that.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.
My log is attached here with:

04-17 12:30:54.322: D/SocialAuthAdapter(13207): Loading URL : 
https://graph.facebook.com/oauth/authorize?client_id=174620322694720&response_ty
pe=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,email,user_b
irthday,user_location,user_photos&type=user_agent&display=touch
04-17 12:30:54.322: D/SocialAuthAdapter(13207): Callback URI : 
fbconnect://success
04-17 12:30:54.322: D/Resolution X(13207): 480
04-17 12:30:54.322: D/Resolution Y(13207): 854
04-17 12:30:54.322: D/screeninch(13207): 4
04-17 12:30:54.322: D/dapi(13207): 240
04-17 12:30:54.732: W/webcore(13207): java.lang.Throwable: 
EventHub.removeMessages(int what = 107) is not supported before the WebViewCore 
is set up.
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.WebViewCore$EventHub.removeMessages(WebViewCore.java:1691)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.WebViewCore$EventHub.access$7900(WebViewCore.java:926)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.WebViewCore.removeMessages(WebViewCore.java:1803)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.WebView.sendOurVisibleRect(WebView.java:2924)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.ZoomManager.setZoomScale(ZoomManager.java:593)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.ZoomManager.access$1700(ZoomManager.java:49)
04-17 12:30:54.732: W/webcore(13207):   at 
android.webkit.ZoomManager$PostScale.run(ZoomManager.java:984)
04-17 12:30:54.732: W/webcore(13207):   at 
android.os.Handler.handleCallback(Handler.java:605)
04-17 12:30:54.732: W/webcore(13207):   at 
android.os.Handler.dispatchMessage(Handler.java:92)
04-17 12:30:54.732: W/webcore(13207):   at 
android.os.Looper.loop(Looper.java:137)
04-17 12:30:54.732: W/webcore(13207):   at 
android.app.ActivityThread.main(ActivityThread.java:4441)
04-17 12:30:54.732: W/webcore(13207):   at 
java.lang.reflect.Method.invokeNative(Native Method)
04-17 12:30:54.732: W/webcore(13207):   at 
java.lang.reflect.Method.invoke(Method.java:511)
04-17 12:30:54.732: W/webcore(13207):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
04-17 12:30:54.732: W/webcore(13207):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
04-17 12:30:54.732: W/webcore(13207):   at dalvik.system.NativeStart.main(Native 
Method)
04-17 12:30:54.772: D/dalvikvm(13207): GC_CONCURRENT freed 344K, 7% free 
10740K/11463K, paused 19ms+3ms
04-17 12:30:55.492: W/IInputConnectionWrapper(13207): finishComposingText on 
inactive InputConnection
04-17 12:30:55.512: D/SocialAuth-WebView(13207): 
onPageStart:https://graph.facebook.com/oauth/authorize?client_id=174620322694720
&response_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,
email,user_birthday,user_location,user_photos&type=user_agent&display=touch
04-17 12:30:59.952: D/SocialAuth-WebView(13207): Override url: 
https://www.facebook.com/dialog/oauth?client_id=174620322694720&response_type=co
de&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_bi
rthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-17 12:30:59.962: D/SocialAuth-WebView(13207): 
onPageStart:https://m.facebook.com/dialog/oauth?client_id=174620322694720&respon
se_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail
%2Cuser_birthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-17 12:31:06.962: D/SocialAuth-WebView(13207): 
onPageStart:https://m.facebook.com/dialog/oauth/confirm
04-17 12:31:07.136: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1182: 
[0417/123107:WARNING:spdy_session.cc(1182)] Received SYN_REPLY for invalid 
stream 3
04-17 12:31:07.332: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123107:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:07.332: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123107:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:07.495: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123107:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:07.495: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123107:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:07.732: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123107:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:08.052: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123108:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:08.052: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123108:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:08.232: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123108:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:08.312: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123108:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:09.172: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123109:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:09.572: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123109:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:09.873: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123109:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.172: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.172: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.172: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.192: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.412: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.492: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.492: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.492: W/chromium(13207): 
external/chromium/net/spdy/spdy_session.cc:1058: 
[0417/123110:WARNING:spdy_session.cc(1058)] Received data frame for invalid 
stream 3
04-17 12:31:10.542: D/SocialAuth-WebView(13207): Override url: 
fbconnect://success#access_token=BAACe0PZAOBkABACyCfPWSIQjYlAhJtQGV1JBZAZBwRaEHf
hRuzgQbrEBWgTK75UrYJztLEDU7mtUUxYfMBBtwDEFZCyK7loKQZBfTcDcs2CZClLQY61p1nBNW9ygRH
hCdsgXaOed7DS2m0gu7St7qfTcMUPrQjxuw2Qck2y8d9WKQittw6oNcBVd1hwyqgXY0ZD&expires_in
=5183717
04-17 12:31:10.742: I/SocialAuthManager(13207): Connecting provider : facebook
04-17 12:31:10.742: I/FacebookImpl(13207): Retrieving Access Token in verify 
response function
04-17 12:31:10.742: I/OAuth2(13207): Verifying the authentication response from 
provider
04-17 12:31:10.752: W/System.err(13207): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:114)
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:102)
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java
:164)
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:1
54)
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:243)
04-17 12:31:10.752: W/System.err(13207):    at 
java.lang.Thread.run(Thread.java:856)
04-17 12:31:10.752: D/SocialAuthError(13207): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-17 12:31:10.752: W/System.err(13207): 
org.brickred.socialauth.android.SocialAuthError: Unknown Error
04-17 12:31:10.752: W/System.err(13207):    at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:263)
04-17 12:31:10.752: W/System.err(13207):    at 
java.lang.Thread.run(Thread.java:856)
04-17 12:31:10.752: D/Share-Bar1(13207): Unknown Error

Original issue reported on code.google.com by bhargavs...@gmail.com on 17 Apr 2013 at 7:05

GoogleCodeExporter commented 9 years ago
i am getting the same problem..

Original comment by shr...@finoit.in on 17 Apr 2013 at 9:22

GoogleCodeExporter commented 9 years ago
the problem is only with facebook. Twitter and LinkedIn works fine with 
socialauth-android(2.1).jar

Original comment by gregory....@gmail.com on 20 Apr 2013 at 11:08

GoogleCodeExporter commented 9 years ago
Hi , Please find a zip file with new jars to test. 

Facebook has done api changes and we are following it. Please note that its is 
not a final jar. After login , you will get a screen " you are already 
authorized" , then pressing ok , you will be connected.

Original comment by vineet.a...@3pillarglobal.com on 22 Apr 2013 at 5:12

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by vineet.a...@3pillarglobal.com on 22 Apr 2013 at 5:13

GoogleCodeExporter commented 9 years ago
I confirm that works here!

Original comment by raf...@telethrive.com on 22 Apr 2013 at 1:26

GoogleCodeExporter commented 9 years ago
I am having exactly the same problem, but the two jars posted in Issue 54 and 
Issue 52 have not fixed it:

The first time I execute the Facebook authentication after introducing the 
correct user and password details I get a white page (image attached). 

The ResponseListener does not catch any errors, and the empty Facebook dialog 
remains waiting until I press "back" to exit from it, these are the logs I get: 

04-23 16:05:51.507: DEBUG/SocialAuthAdapter(5921): Selected provider is facebook
04-23 16:05:51.515: DEBUG/SocialAuthAdapter(5921): Loading keys and secrets 
from configuration
04-23 16:05:51.585: INFO/SocialAuthConfig(5921): Loading application 
configuration
04-23 16:05:51.609: DEBUG/SocialAuthAdapter(5921): Starting webview for 
authentication
04-23 16:05:51.710: INFO/FacebookImpl(5921): Loading plugin :: 
org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
04-23 16:05:51.718: INFO/FacebookImpl(5921): Loading plugin :: 
org.brickred.socialauth.plugin.facebook.FeedPluginImpl
04-23 16:05:51.781: DEBUG/SocialAuthAdapter(5921): Loading URL : 
https://graph.facebook.com/oauth/authorize?client_id=493604677355341&response_ty
pe=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,email,user_b
irthday,user_location,user_photos&type=user_agent&display=touch
04-23 16:05:51.781: DEBUG/SocialAuthAdapter(5921): Callback URI : 
fbconnect://success
04-23 16:05:52.218: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://graph.facebook.com/oauth/authorize?client_id=493604677355341
&response_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,
email,user_birthday,user_location,user_photos&type=user_agent&display=touch
04-23 16:05:53.296: DEBUG/SocialAuth-WebView(5921): Override url: 
https://www.facebook.com/dialog/oauth?client_id=493604677355341&response_type=co
de&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_bi
rthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:05:53.312: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://m.facebook.com/dialog/oauth?client_id=493604677355341&respon
se_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail
%2Cuser_birthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:05:54.210: DEBUG/SocialAuth-WebView(5921): Override url: 
http://m.facebook.com/login.php?app_id=493604677355341&skip_api_login=1&cancel=f
bconnect%3A%2F%2Fsuccess%3Ferror_reason%3Duser_denied%26error%3Daccess_denied%26
error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=1&next=https
%3A%2F%2Fm.facebook.com%2Fdialog%2Fpermissions.request%3F_path%3Dpermissions.req
uest%26app_id%3D493604677355341%26client_id%3D493604677355341%26redirect_uri%3Df
bconnect%253A%252F%252Fsuccess%26display%3Dtouch%26type%3Duser_agent%26perms%3Dp
ublish_stream%252Cemail%252Cuser_birthday%252Cuser_location%252Cuser_photos%26fb
connect%3D1%26from_login%3D1&rcount=1&_rdr
04-23 16:05:54.218: DEBUG/SocialAuth-WebView(5921): 
onPageStart:http://m.facebook.com/login.php?app_id=493604677355341&skip_api_logi
n=1&cancel=fbconnect%3A%2F%2Fsuccess%3Ferror_reason%3Duser_denied%26error%3Dacce
ss_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=
1&next=https%3A%2F%2Fm.facebook.com%2Fdialog%2Fpermissions.request%3F_path%3Dper
missions.request%26app_id%3D493604677355341%26client_id%3D493604677355341%26redi
rect_uri%3Dfbconnect%253A%252F%252Fsuccess%26display%3Dtouch%26type%3Duser_agent
%26perms%3Dpublish_stream%252Cemail%252Cuser_birthday%252Cuser_location%252Cuser
_photos%26fbconnect%3D1%26from_login%3D1&rcount=1&_rdr
04-23 16:06:02.640: DEBUG/SocialAuth-WebView(5921): 
onPageStart:http://m.facebook.com/login.php?app_id=493604677355341&skip_api_logi
n=1&cancel=fbconnect%3A%2F%2Fsuccess%3Ferror_reason%3Duser_denied%26error%3Dacce
ss_denied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&fbconnect=
1&next=https%3A%2F%2Fm.facebook.com%2Fdialog%2Fpermissions.request%3F_path%3Dper
missions.request%26app_id%3D493604677355341%26client_id%3D493604677355341%26redi
rect_uri%3Dfbconnect%253A%252F%252Fsuccess%26display%3Dtouch%26type%3Duser_agent
%26perms%3Dpublish_stream%252Cemail%252Cuser_birthday%252Cuser_location%252Cuser
_photos%26fbconnect%3D1%26from_login%3D1&rcount=1&_rdr
04-23 16:07:00.132: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://m.facebook.com/login.php?fbconnect=1&skip_api_login=1&next=h
ttps%3A%2F%2Fm.facebook.com%2Fdialog%2Fpermissions.request%3F_path%3Dpermissions
.request%26app_id%3D493604677355341%26client_id%3D493604677355341%26redirect_uri
%3Dfbconnect%253A%252F%252Fsuccess%26display%3Dtouch%26type%3Duser_agent%26perms
%3Dpublish_stream%252Cemail%252Cuser_birthday%252Cuser_location%252Cuser_photos%
26fbconnect%3D1%26from_login%3D1&refsrc=http%3A%2F%2Fm.facebook.com%2Flogin.php&
cancel=fbconnect%3A%2F%2Fsuccess%3Ferror_reason%3Duser_denied%26error%3Daccess_d
enied%26error_description%3DThe%2Buser%2Bdenied%2Byour%2Brequest.&refid=9
04-23 16:07:03.539: DEBUG/SocialAuth-WebView(5921): Override url: 
https://m.facebook.com/dialog/permissions.request?_path=permissions.request&app_
id=493604677355341&client_id=493604677355341&redirect_uri=fbconnect%3A%2F%2Fsucc
ess&display=touch&type=user_agent&perms=publish_stream%2Cemail%2Cuser_birthday%2
Cuser_location%2Cuser_photos&fbconnect=1&from_login=1&refsrc=http%3A%2F%2Fm.face
book.com%2Flogin.php&refid=9&_rdr#_=_
04-23 16:07:03.546: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://m.facebook.com/dialog/permissions.request?_path=permissions.
request&app_id=493604677355341&client_id=493604677355341&redirect_uri=fbconnect%
3A%2F%2Fsuccess&display=touch&type=user_agent&perms=publish_stream%2Cemail%2Cuse
r_birthday%2Cuser_location%2Cuser_photos&fbconnect=1&from_login=1&refsrc=http%3A
%2F%2Fm.facebook.com%2Flogin.php&refid=9&_rdr#_=_

If I try authenticating in Facebook again, the Dialog does not request me to 
enter the details and tries authenticating directly, then the ResponseListener 
onError catches the following error:

04-23 16:35:28.546: DEBUG/SocialAuthAdapter(5921): Selected provider is facebook
04-23 16:35:28.546: DEBUG/SocialAuthAdapter(5921): Loading keys and secrets 
from configuration
04-23 16:35:28.617: INFO/SocialAuthConfig(5921): Loading application 
configuration
04-23 16:35:28.632: DEBUG/SocialAuthAdapter(5921): Starting webview for 
authentication
04-23 16:35:28.640: INFO/FacebookImpl(5921): Loading plugins
04-23 16:35:28.640: INFO/FacebookImpl(5921): Loading plugin :: 
org.brickred.socialauth.plugin.facebook.AlbumsPluginImpl
04-23 16:35:28.640: INFO/FacebookImpl(5921): Loading plugin :: 
org.brickred.socialauth.plugin.facebook.FeedPluginImpl
04-23 16:35:28.640: INFO/OAuth2(5921): Determining URL for redirection
04-23 16:35:28.648: INFO/OAuth2(5921): Redirection to following URL should 
happen : 
https://graph.facebook.com/oauth/authorize?client_id=493604677355341&response_ty
pe=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,email,user_b
irthday,user_location,user_photos
04-23 16:35:28.765: DEBUG/SocialAuthAdapter(5921): Loading URL : 
https://graph.facebook.com/oauth/authorize?client_id=493604677355341&response_ty
pe=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,email,user_b
irthday,user_location,user_photos&type=user_agent&display=touch
04-23 16:35:28.765: DEBUG/SocialAuthAdapter(5921): Callback URI : 
fbconnect://success
04-23 16:35:28.968: VERBOSE/webview(5921): PageStarted: 
https://graph.facebook.com/oauth/authorize?client_id=493604677355341&response_ty
pe=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,email,user_b
irthday,user_location,user_photos&type=user_agent&display=touch
04-23 16:35:28.976: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://graph.facebook.com/oauth/authorize?client_id=493604677355341
&response_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream,
email,user_birthday,user_location,user_photos&type=user_agent&display=touch
04-23 16:35:29.312: DEBUG/SocialAuth-WebView(5921): Override url: 
https://www.facebook.com/dialog/oauth?client_id=493604677355341&response_type=co
de&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_bi
rthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:35:29.406: VERBOSE/webview(5921): PageFinished: 
https://www.facebook.com/dialog/oauth?client_id=493604677355341&response_type=co
de&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_bi
rthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:35:29.406: VERBOSE/webview(5921): PageStarted: 
https://m.facebook.com/dialog/oauth?client_id=493604677355341&response_type=code
&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_birt
hday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:35:29.406: DEBUG/SocialAuth-WebView(5921): 
onPageStart:https://m.facebook.com/dialog/oauth?client_id=493604677355341&respon
se_type=code&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail
%2Cuser_birthday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:35:29.781: VERBOSE/webview(5921): PageFinished: 
https://m.facebook.com/dialog/oauth?client_id=493604677355341&response_type=code
&redirect_uri=fbconnect%3A%2F%2Fsuccess&scope=publish_stream%2Cemail%2Cuser_birt
hday%2Cuser_location%2Cuser_photos&type=user_agent&display=touch
04-23 16:35:29.820: DEBUG/SocialAuth-WebView(5921): Override url: 
fbconnect://success?error_code=901&error_message=This+app+is+in+sandbox+mode.++E
dit+the+app+configuration+at+http%3A%2F%2Fdevelopers.facebook.com%2Fapps+to+make
+the+app+publicly+visible.
04-23 16:35:29.859: INFO/SocialAuthManager(5921): Connecting provider : facebook
04-23 16:35:29.859: INFO/FacebookImpl(5921): Retrieving Access Token in verify 
response function
04-23 16:35:29.859: INFO/OAuth2(5921): Verifying the authentication response 
from provider
04-23 16:35:29.867: WARN/System.err(5921): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-23 16:35:29.867: WARN/System.err(5921): at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:132)
04-23 16:35:29.867: WARN/System.err(5921): at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:100)
04-23 16:35:29.867: WARN/System.err(5921): at 
org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java
:163)
04-23 16:35:29.867: WARN/System.err(5921): at 
org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:1
53)
04-23 16:35:29.875: WARN/System.err(5921): at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
04-23 16:35:29.875: WARN/System.err(5921): at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:249)
04-23 16:35:29.875: WARN/System.err(5921): at 
java.lang.Thread.run(Thread.java:856)
04-23 16:35:29.875: DEBUG/SocialAuthError(5921): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-23 16:35:33.679: DEBUG/Custom-UI(5921): Error

I have tried replacing the jars posted in Issue 52 and Issue 54 which 
apparently solved the same problem for some other developers, unfortunately in 
my case the problem persist. 

Original comment by edua...@magicsolver.com on 23 Apr 2013 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
This version works fine but i have a little problem with Facebook font in 
Korean.
Works fine in twitter. But in Facebook my Korean text displays like ��. 
Is there any solutions.?

Original comment by apps...@gmail.com on 24 Apr 2013 at 1:49

GoogleCodeExporter commented 9 years ago
Hi appsmoa

Request you Please open a new thread. 

Original comment by vineet.a...@3pillarglobal.com on 25 Apr 2013 at 9:21

GoogleCodeExporter commented 9 years ago

Original comment by vineet.a...@3pillarglobal.com on 25 Apr 2013 at 9:24

GoogleCodeExporter commented 9 years ago
I accept the solutions. Working fine now. Thanks.

Original comment by bhargavs...@gmail.com on 26 Apr 2013 at 11:48

GoogleCodeExporter commented 9 years ago
This solution works fine thanks.

Original comment by gregory....@gmail.com on 2 May 2013 at 12:18

GoogleCodeExporter commented 9 years ago
fbconnect://success#access_token=CAACZAI5WgO4QBANrfNZC7ZCLy6KYArj6EZAsOZA6ZCpPUN
JHaOAjB89X4nu9ZBdVIpaPotn10NNPMcST2xn1nqCRgkUZCkN3toFPQSqvZCMxy6t8KpmIaGNWRZAGrf
f8C6QNZBinSFEQkjIlnbr6Fl7HZCgvVhURd8lt2OZBYl5Akg8U2CQZDZD&expires_in=5167052

Original comment by adrann...@gmail.com on 22 May 2013 at 11:37