ShareKit 0.2.1 Twitter not working
I added ShareKit to my project and got the following error:
Twitter Send Status Error: {"error":"Could not authenticate with OAuth.","request":"\/1\/statuses\/update.json"} |
The following is how I fixed it:
Around line 54 you will see the following code:
self.authorizeURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/authorize"]; self.requestURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/request_token"]; self.accessURL = [NSURL URLWithString:@"https://api.twitter.com/oauth/access_token"]; |
These need to be changed to https://api.twitter.com/oauth rather than https://twitter.com.