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 example doesn't work #41

Closed
tyrannosaurus-becks opened this issue Oct 19, 2015 · 1 comment
Closed

Twitter example doesn't work #41

tyrannosaurus-becks opened this issue Oct 19, 2015 · 1 comment

Comments

@tyrannosaurus-becks
Copy link

In the Twitter example, it shows how to upgrade a requestToken to an accessToken here.

When I test that method, I receive the following error: Missing oauth_token in response. Full response body: 'ok'.

I checked that my requestToken and verificationCode in the method are valid. I also pointed a test request at requestb.in to see what the request was sending. Here's the full request that's sent:
screenshot from 2015-10-19 16 06 56

Note that the raw body is "None". I believe the issue is that in Step 3 of Twitter's oauth instructions, it wants the oauth_verifier as part of the request body like this: oauth_verifier=uw7NjWHT6OJ1MpJOXsHfNxoAhPKpgI8BlYDhxEjIBY.

I may dig in and fix this, but in the meantime or if I don't, I wanted to let you folks know. Thank you!

@tyrannosaurus-becks
Copy link
Author

I think this is my error. The oauth_verifier should be part of the URL. I'll close this and reopen it if needed.

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