hamtory / socialauth-android

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

Unable to get user profile and other details on twitter because twitter API has a new update on January 14, 2014 #135

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce issue:
1.Enter username and password in Twitter authentication dialog.
2.Click on Sign in.
3.Authentication is successful.
4.Now call getUserProfileAsync(SocialAuthListener<Profile>) method, but 
unfortunately it shows error 
"org.brickred.socialauth.exception.SocialAuthException: Failed to retrieve the 
user profile from  
http://api.twitter.com/1.1/users/show.json?screen_name=hardiktest12"

Expected output should be requested user profile.

I'm using socialauth-4.3 and socialauth-android-3.0 for developing an android 
application.

Please fix this issue as soon as possible.

Note:
According to Twitter API, from January 14, we need to use "https" instead of 
"http" for all API requests. Please check following link for reference.
https://dev.twitter.com/discussions/24239

Thanks.

Original issue reported on code.google.com by dhaval.a...@gmail.com on 15 Jan 2014 at 1:02

GoogleCodeExporter commented 9 years ago
Please help, i'm facing the same issue (Like all other SoicalAuth Twitter users 
, I guess).

=>The Error:
org.brickred.socialauth.exception.SocialAuthException: Failed to retrieve the 
user profile from  
http://api.twitter.com/1.1/users/show.json?screen_name=elitu0. Status :403

Original comment by MailOfEli@gmail.com on 15 Jan 2014 at 9:10

GoogleCodeExporter commented 9 years ago
My solution for this issue is attached (After editing provider/TwitterImpl.java)

Original comment by MailOfEli@gmail.com on 16 Jan 2014 at 9:48

Attachments:

GoogleCodeExporter commented 9 years ago
Yes, I also have done the same thing. Just need to edit TwitterImpl.java class.

Original comment by dhaval.a...@gmail.com on 16 Jan 2014 at 5:42

GoogleCodeExporter commented 9 years ago
Thank u so much ....its working fine

Original comment by mahesh....@gmail.com on 20 Jan 2014 at 5:17

GoogleCodeExporter commented 9 years ago
the new jar file having issue login with google plus. please test and fix it

Original comment by milindka...@gmail.com on 22 Jan 2014 at 9:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, we are releasing new version with twitter fix on monday , milandkanani are 
you getting any issue with google plus too

Original comment by vineet.a...@3pillarglobal.com on 23 Jan 2014 at 6:46

GoogleCodeExporter commented 9 years ago
hi vineet.

yes the new jars, 
    sa-4.3-core.jar 
    social-auth-android-twitter-edit-2.6.jar 
solve the issue of twitter login but its still does not return the profile 
infromation like name and profile picture.

it have also issue in google plus login its return redirec_uri_mismatch error.

the last was worked for google plus account this issue only seen in only in 
above jars.

can you also please the enable option share on google plus.

Original comment by milindka...@gmail.com on 23 Jan 2014 at 7:42

Attachments:

GoogleCodeExporter commented 9 years ago
Hi with the new jars, 
    sa-4.3-core.jar 
    social-auth-android-twitter-edit-2.6.jar 
at first time it worked for me, but after one day again twitter is also not 
working for me with these jar files.

Another problem with jar files is, the dialog of facebook is not appearing, 
good as it is working with previous 2.6 verision. Its height is stretching from 
small (center of screen) to large.

Please test and fix these issues.
Thanks.

Original comment by asifjava...@gmail.com on 23 Jan 2014 at 8:09

GoogleCodeExporter commented 9 years ago
hi vineet.

Do you have any updates on the new release today, with twitter fix ?

Thanks.

Original comment by asifjava...@gmail.com on 27 Jan 2014 at 9:05

GoogleCodeExporter commented 9 years ago
Hi, 
New jars (sa-4.3-core.jar & social-auth-android-twitter-edit-2.6.jar) worked 
for me. Twitter issue is solved.

Thanks,
Nirav

Original comment by sufalamt...@gmail.com on 29 Jan 2014 at 11:22

GoogleCodeExporter commented 9 years ago
So should we use the latest social-auth-android-3.0.jar or the twotter edit one.
Will we loose the added features on social-auth-android-3.0.jar?

Original comment by asif78...@gmail.com on 30 Jan 2014 at 4:19

GoogleCodeExporter commented 9 years ago
Hi,

Sorry for delay. Since code.google.com is not allowing us to upload new jars we 
have now uploading new jar on sourforge.

Please download the new jar from following link :

https://sourceforge.net/projects/socialauth-android/

Original comment by vineet.a...@3pillarglobal.com on 30 Jan 2014 at 10:17

GoogleCodeExporter commented 9 years ago
Hi vineet,

Thank you so much, for the new build. It all working perfect now. :)

Original comment by asifjava...@gmail.com on 30 Jan 2014 at 12:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue still occurs in ver 3.2 after call adapter.updateStatus(...);

Original comment by SzZzS2...@gmail.com on 31 Jul 2014 at 8:30

GoogleCodeExporter commented 9 years ago
Please check the samples. If you are not getting issues in samples then you 
might be missing some setting

Original comment by vineet.a...@3pillarglobal.com on 31 Jul 2014 at 11:45

GoogleCodeExporter commented 9 years ago
Hi Everyone , 

I am using socialauth-4.3 for facebook login , but i am getting following error 
,

{
   "error": {
      "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
      "type": "OAuthException",
      "code": 191
   }
}

Redirecting to: 
https://graph.facebook.com/oauth/authorize?client_id=152190004803645&response_ty
pe=code&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2FSocialAuth%2FsocialAuthSucc
essAction.do&scope=publish_stream,email,user_birthday,user_location,user_photos

Please suggest
email : pandey7914@gmail.com

Original comment by pandey7...@gmail.com on 25 Nov 2014 at 5:37