mrinalblr / socialauth-android

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

Auth with facebook is not working anymore #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download socialauth-android-sdk-2.0.zip
2. Import any of the test projects
3. Try to login using facebook

What is the expected output? What do you see instead?
It suppose to get the "Authentication Successful" log from the ResponseListener 
but what i get is the following exception:

04-12 21:07:46.510: W/System.err(7078): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:114)
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:102)
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java
:164)
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:1
54)
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:183)
04-12 21:07:46.510: W/System.err(7078):     at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:244)
04-12 21:07:46.510: W/System.err(7078):     at 
java.lang.Thread.run(Thread.java:856)
04-12 21:07:46.510: W/InputMethodManagerService(519): Window already focused, 
ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@420ef600 
attribute=android.view.inputmethod.EditorInfo@4206f4a0, token = 
android.os.BinderProxy@41ff3268
04-12 21:07:46.520: D/SocialAuthError(7078): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null
04-12 21:07:46.520: W/System.err(7078): 
org.brickred.socialauth.android.SocialAuthError: Unknown Error
04-12 21:07:46.520: W/System.err(7078):     at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:264)
04-12 21:07:46.520: W/System.err(7078):     at 
java.lang.Thread.run(Thread.java:856)
04-12 21:07:46.520: D/LifeView(7078): Unknown Error

What version of the product are you using? On what operating system?
I'm using the socialauth-android-sdk-2.0 and this behavior was present testing 
with an Android 4.2.2 and Android 2.3.3 devices.

Please provide any additional information below.
I test 1 week ago with exactly the same code and now it's not working.

Original issue reported on code.google.com by victor.c...@gmail.com on 12 Apr 2013 at 7:10

GoogleCodeExporter commented 8 years ago
I checked with S3...it's just show "Your are already authorise" nothing at 
bottom side...but in Moto Zoom TAB it showing properly.

Original comment by shubhamP...@gmail.com on 27 May 2013 at 4:30

GoogleCodeExporter commented 8 years ago
here dialog is not showing scroll-able at all, OK/CANCEL button display for a 
while and went somewhere into layout which is not visible in case of small 
screen.

Original comment by shubhamP...@gmail.com on 28 May 2013 at 2:02

GoogleCodeExporter commented 8 years ago
Hi gen3Software , 
when i use the socialauth-4.0.jar and socialauth-android-2.1.jar which are 
launched on Apr 21, 2013, on facebook it`s just show "you are already 
authorise", but nothing else... see the log ,it returns the error message 
org.brickred.socialauth.exception.SocialAuthException: Error while getting 
profile from https://graph.facebook.com/me....
when I use the earlier socialauth-4.0.jar the error message is: Verification 
code is null
regards,
Aaron

Original comment by ReyZhan...@gmail.com on 28 May 2013 at 2:31

GoogleCodeExporter commented 8 years ago
Hi vineet,
you can see here in attachment...OK/Cancel not visible in this layout, nor this 
page is scroll-able. please provide your input/suggestion here.

Original comment by shubhamP...@gmail.com on 28 May 2013 at 3:01

Attachments:

GoogleCodeExporter commented 8 years ago
here we go see attachment, button are available at bottom. I run app on 
emulator and using TAB event able to shift control from one child view to 
another.

please fix it or let us know if have any suggestion here?

Original comment by shub...@azoi.com on 28 May 2013 at 10:31

Attachments:

GoogleCodeExporter commented 8 years ago
Hello team, any update/suggestion here regarding scrolling issue?

Original comment by shubhamP...@gmail.com on 29 May 2013 at 3:22

GoogleCodeExporter commented 8 years ago
Hi Shubham,

have u tried any changes in source code. We have checked on all acreen sizes 
and we are not getting any issue. ON all phones its working fine for us.

Original comment by vineet.a...@3pillarglobal.com on 30 May 2013 at 2:37

GoogleCodeExporter commented 8 years ago
I checked your source code..but for integration purpose I am directly using 
same jar provided by here...please check in any small screen device...you can 
see exactly same case with another guy who is directly using sdk provided by FB.

please check this also https://developers.facebook.com/bugs/525568624146255

Original comment by shub...@azoi.com on 30 May 2013 at 3:14

GoogleCodeExporter commented 8 years ago
any update on scrolling issue?

Original comment by shubhamP...@gmail.com on 4 Jun 2013 at 2:56

GoogleCodeExporter commented 8 years ago
I can't link facebook to app.s like words with friends .please help.

Original comment by rustycfe...@gmail.com on 7 Jun 2013 at 11:03

GoogleCodeExporter commented 8 years ago
the latest jar is released. closing this pending issue. please open new issue 
for any problems. check examples for use.

Original comment by l...@3pillarglobal.com on 10 Jun 2013 at 3:20

GoogleCodeExporter commented 8 years ago
Thank you so much..Scrolling issue got solved, but with authentication done it 
show "You are already authorize XXX"..can you people explain why this is 
for..and how it work. Thanks for all your effort :)

Original comment by shubhamP...@gmail.com on 12 Jun 2013 at 8:21

GoogleCodeExporter commented 8 years ago
I have added new jars to my application(servlet based)bot its still showing 
error that verification code is null for facebook authentication.

Original comment by shrutik....@gmail.com on 28 Jun 2013 at 5:43

GoogleCodeExporter commented 8 years ago
I just noticed the issue while trying to login into facebook. Today 12:00 p.m. 
GMT. The log is from the latest attempt at 12:40 p.m.
06-28 12:40:32.661: W/System.err(813): 
org.brickred.socialauth.android.SocialAuthError: Unknown Error
06-28 12:40:32.661: W/System.err(813):  at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run(S
ocialAuthDialog.java:265)
06-28 12:40:32.661: W/System.err(813):  at java.lang.Thread.run(Thread.java:856)

06-28 12:40:32.453: I/SocialAuthManager(813): Connecting provider : facebook
06-28 12:40:32.453: I/FacebookImpl(813): Retrieving Access Token in verify 
response function
06-28 12:40:32.554: I/OAuth2(813): Verifying the authentication response from 
provider
06-28 12:40:32.554: W/System.err(813): 
org.brickred.socialauth.exception.SocialAuthException: Verification code is null

06-28 12:40:32.554: W/System.err(813):  at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:136)
06-28 12:40:32.554: W/System.err(813):  at 
org.brickred.socialauth.oauthstrategy.OAuth2.verifyResponse(OAuth2.java:102)
06-28 12:40:32.592: W/System.err(813):  at 
org.brickred.socialauth.provider.FacebookImpl.doVerifyResponse(FacebookImpl.java
:188)
06-28 12:40:32.592: W/System.err(813):  at 
org.brickred.socialauth.provider.FacebookImpl.verifyResponse(FacebookImpl.java:1
78)
06-28 12:40:32.603: W/System.err(813):  at 
org.brickred.socialauth.SocialAuthManager.connect(SocialAuthManager.java:184)
06-28 12:40:32.603: W/System.err(813):  at 
org.brickred.socialauth.android.SocialAuthDialog$SocialAuthWebViewClient$1.run

Original comment by dimitri....@gmail.com on 28 Jun 2013 at 1:06

Attachments:

GoogleCodeExporter commented 8 years ago
I am having this same issue fbconnect// blah blah blah.... I am not a 
programmer and have no clue what to do... is this something that can be fixed 
by a end user because technical support at Straight talk - is only reading a 
frigging book and has no clue! 

Original comment by star42...@yahoo.com on 6 Jul 2013 at 9:53

GoogleCodeExporter commented 8 years ago
hi , this issue is already closed please open new issue if you are facing any 
problems.

Original comment by vineet.a...@3pillarglobal.com on 8 Jul 2013 at 5:50

GoogleCodeExporter commented 8 years ago
Hi Project member ,

    I was getting the authentication fail in FB with socialauth-android-2.0.jar in your custom Ui sample . so i used socialauth-android-2.1.jar , now FB is working fine but with twitter and linkedIn getting problem

 1. twitter -----> Could not connect using SocialAuth.
 2. linkedIn ----> org.brickred.socialauth.android.SocialAuthError: A secure      connection could not be established

Please see on this issue ........

Original comment by ashun...@gmail.com on 19 Jul 2013 at 1:15

GoogleCodeExporter commented 8 years ago
I keep getting the same problem with candy crush saga. Does anyone know how to 
fix this do that I could connect to Facebook n my friends 

Original comment by d.f.lar...@gmail.com on 6 Aug 2013 at 2:22

GoogleCodeExporter commented 8 years ago
can anyone help me figure out how to play words free and other zynga games on 
my ph? i cant log in thru facebook 

Original comment by IAMQUEE...@gmail.com on 1 Oct 2013 at 8:28

GoogleCodeExporter commented 8 years ago
at 
fbconnect://success#access_token=CAACZAI5WgO4QBADjCOiAZAgpkzTRkwDDqslGqAztaGdkNv
l6z3Pp1HiNUUQeidTQUZCWfNC5za7ePP7V3bx8zAN06JSfTjdZB3DzfyTrBoJdPIQZA6xepZCIRHD1Wq
xv6jPtNf64nh7UZB68mUQUX6L68MALeGnxJwUI62EpkbH2H0gj5s3LkOcWBgxRjJnayLsE3wibWaZCAu
uTlwYAfR4s&expires_in=5132110.

Original comment by IAMQUEE...@gmail.com on 1 Oct 2013 at 8:31

GoogleCodeExporter commented 8 years ago
Hi vineet,

uploadImageAsync is throwing exception.

In library res = getCurrentProvider().uploadImage()

Is throwing exception org.brickred.socialauth.exception.SocialAuthException: 
java.io.IOException: Unexpected response code for CONNECT: 400.

Please resolve that issue i am wating for your response.

Original comment by dear.vi...@gmail.com on 11 Nov 2014 at 10:18

GoogleCodeExporter commented 8 years ago
Hi team,can you please suggest me my bug.i am using social auth android for 
facebook login in my application.But it is giving following error.

11-22 11:41:06.288: D/SocialAuthAdapter(16237): Loading keys and secrets from 
configuration
11-22 11:41:06.305: D/SocialAuthAdapter(16237): oauth_consumer.properties not 
found
11-22 11:41:06.306: D/SocialAuthAdapter(16237): Could not load configuration
11-22 11:41:06.308: D/SocialAuthAdapter(16237): Starting webview for 
authentication
11-22 11:41:06.338: D/SocialAuthError(16237): 
org.brickred.socialauth.exception.SocialAuthConfigurationException: SocialAuth 
configuration is null.
11-22 11:41:06.339: W/System.err(16237): 
org.brickred.socialauth.android.SocialAuthError: URL Authentication error
11-22 11:41:06.350: W/System.err(16237):    at 
org.brickred.socialauth.android.SocialAuthAdapter$4.run(SocialAuthAdapter.java:6
53)
11-22 11:41:06.350: W/System.err(16237):    at 
java.lang.Thread.run(Thread.java:838)

please suggest me what would be the wrong here and let me know what can i do??

Original comment by malli.pu...@gmail.com on 22 Nov 2014 at 6:26

GoogleCodeExporter commented 8 years ago
hello .. i want to navigate to another activity after authentication and want 
to logout from there. need sample code.

Original comment by pal...@bugletech.com on 26 Feb 2015 at 6:02

GoogleCodeExporter commented 8 years ago
Hi, I got the same error in webapp, I tried with multiply versions, including 
last version, But I always have same problem 'Verification code is null', I put 
right url in fb and goole, but the issue not resolved. What to do?

Original comment by IHelthMa...@gmail.com on 25 May 2015 at 7:53