Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter API 1 retirement - potentially cause of "There was a problem requesting access from twitter" #390

Open
MattFellows opened this issue Jun 13, 2013 · 2 comments

Comments

@MattFellows
Copy link

When requesting application access from twitter the following xml is returned...

Required oauth_verifier parameter not provided /oauth/access_token

I guess the API v1 retirement has broken ShareKit?

@MattFellows
Copy link
Author

OK I've found a partial fix...

Adding the following line to SHKOAuthSharer.m on line 195 or thereabouts
[oRequest setOAuthParameterName:@"oauth_verifier" withValue:[self.authorizeResponseQueryVars valueForKey:@"oauth_verifier"]];

Gets over the fact that oauth_verifier wasn't being sent, still can't actually submit text yet though. WIll update when I've worked out what's going on with that...

@MattFellows
Copy link
Author

Update line 323 on SHKTwitter.m to be the new 1.1 API URL and all your tweeting issues are resolved...

e.g.
OAMutableURLRequest *oRequest = [[OAMutableURLRequest alloc] initWithURL:[NSURL URLWithString:@"https://api.twitter.com/1.1/statuses/update.json"]
consumer:consumer
token:accessToken
realm:nil
signatureProvider:nil];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant