madscientistone / socialauth-net

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

Error with Twitter oAuth #177

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. follow steps as in Issue #176

twitter oauth flow start and completes with error
it says :The remote server returned an error: (410) Gone

Original issue reported on code.google.com by vishal.a...@gmail.com on 15 Jun 2013 at 7:54

GoogleCodeExporter commented 9 years ago
found and fixed.. please close this issue.
Twitter have terminated version 1 of there apis, and twitterwrapper.cs was 
still holding reference to old api.. that was causing it to throw error 410 

fix: change twitterwrapper.cs as below
change following line 
public override string ProfileEndpoint { get { return 
"http://api.twitter.com/1/users/show.json"; } }
        public override string ContactsEndpoint { get { return "http://api.twitter.com/1/friends/ids.json?screen_name={0}&cursor=-1"; } }

to point to api version 1.1

public override string ProfileEndpoint { get { return 
"http://api.twitter.com/1.1/users/show.json"; } }
        public override string ContactsEndpoint { get { return "http://api.twitter.com/1.1/friends/ids.json?screen_name={0}&cursor=-1"; } }

Original comment by vishal.a...@gmail.com on 15 Jun 2013 at 5:51

GoogleCodeExporter commented 9 years ago
This was resolved in 2.4

Original comment by deepak.a...@3pillarglobal.com on 21 Oct 2013 at 10:37