yubrajpokharel / socialauth

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

Twitter auth stop working since Jan 14, 2014 #321

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Authorize user on Android device with socialauth-android
2. Unknown error appears (from device logs Failed to retrieve the user profile 
from  http://api.twitter.com/1.1/users/show.json?screen_name=<user_name>. 
Status :403)
3.

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

What version of the product are you using? On what operating system?
socialauth-4.3.jar, socialauth-android-3.0.jar

Please provide any additional information below.

Twitter changed they policies starting from Jan 14, 2014. Now we should use SSL 
while working with api.twitter.com so it's better to change Auth link inside 
your jars to HTTPS.

From dev.twitter.com: January 14, 2014 api.twitter.com now requires SSL/TLS for 
all connections as of today, January 14th, 2014.

Thanks a lot!

Original issue reported on code.google.com by egor.vor...@gmail.com on 15 Jan 2014 at 8:15

GoogleCodeExporter commented 8 years ago

Original comment by tarun.na...@3pillarglobal.com on 16 Jan 2014 at 8:43

GoogleCodeExporter commented 8 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:50

Attachments:

GoogleCodeExporter commented 8 years ago
Only change file TwitterImpl.java PROFILE_URL = 
"http://api.twitter.com/1.1/users/show.json?screen_name="; to  PROFILE_URL = 
"https://api.twitter.com/1.1/users/show.json?screen_name=";, rebuild file jar

Original comment by gillete....@gmail.com on 16 Jan 2014 at 9:59

GoogleCodeExporter commented 8 years ago
Latest code committed on GitHub. Soon we will release a new jar for java and 
android.

https://github.com/3pillarlabs/socialauth

Regards
Tarun

Original comment by tarun.na...@3pillarglobal.com on 17 Jan 2014 at 5:10

GoogleCodeExporter commented 8 years ago
New jar is released.
You can download the new one from the following location:-

https://sourceforge.net/projects/socialauth/files/latest/download

Original comment by tarun.na...@3pillarglobal.com on 29 Jan 2014 at 1:20