Closed GoogleCodeExporter closed 8 years ago
i am getting the same problem..
Original comment by shr...@finoit.in
on 17 Apr 2013 at 9:22
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
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:
Original comment by vineet.a...@3pillarglobal.com
on 22 Apr 2013 at 5:13
I confirm that works here!
Original comment by raf...@telethrive.com
on 22 Apr 2013 at 1:26
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:
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
Hi appsmoa
Request you Please open a new thread.
Original comment by vineet.a...@3pillarglobal.com
on 25 Apr 2013 at 9:21
Original comment by vineet.a...@3pillarglobal.com
on 25 Apr 2013 at 9:24
I accept the solutions. Working fine now. Thanks.
Original comment by bhargavs...@gmail.com
on 26 Apr 2013 at 11:48
This solution works fine thanks.
Original comment by gregory....@gmail.com
on 2 May 2013 at 12:18
fbconnect://success#access_token=CAACZAI5WgO4QBANrfNZC7ZCLy6KYArj6EZAsOZA6ZCpPUN
JHaOAjB89X4nu9ZBdVIpaPotn10NNPMcST2xn1nqCRgkUZCkN3toFPQSqvZCMxy6t8KpmIaGNWRZAGrf
f8C6QNZBinSFEQkjIlnbr6Fl7HZCgvVhURd8lt2OZBYl5Akg8U2CQZDZD&expires_in=5167052
Original comment by adrann...@gmail.com
on 22 May 2013 at 11:37
Original issue reported on code.google.com by
bhargavs...@gmail.com
on 17 Apr 2013 at 7:05