c0debrain / socialauth

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

Twitter API PROFILE_URL (! https required !) #326

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

Using last version (4.3), please fix your twitter api implementation because 
Twitter API doesn't support HTTP request, even for profile request.

Please change <org.brickred.socialauth.provider.TwitterImpl.PROFILE_URL> from 
"http://api.twitter.com/1.1/users/show.json?screen_name=" to 
"https://api.twitter.com/1.1/users/show.json?screen_name=" (https).

Original URL (http) returns 403 after callback.
Proposed URL (https) returns 200 after callback.

Awaiting your modification and a new release, I've changed the static final 
constant using Java Reflection...

Thans a lot.
Saad Benbouzid

Original issue reported on code.google.com by Makaveli...@gmail.com on 30 Jan 2014 at 11:20

GoogleCodeExporter commented 9 years ago
This is updated and new jar is uploaded.

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 31 Jan 2014 at 11:53

GoogleCodeExporter commented 9 years ago

Thanks a lot for the quick answer.
You have even "mvn:deployed" new version 4.4 on OSS, amazing :)

I noticed you have also changed all twitter's rest API urls for [HTTPS] 
(LOOKUP_URL, CONTACTS_URL, ...).

Good job.

Original comment by Makaveli...@gmail.com on 31 Jan 2014 at 3:04