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

Getting Nonce That Works #16

Open
ghost opened this issue Sep 14, 2014 · 7 comments
Open

Getting Nonce That Works #16

ghost opened this issue Sep 14, 2014 · 7 comments

Comments

@ghost
Copy link

ghost commented Sep 14, 2014

Hi all,

When I am trying to run a request using my Postman App, I keep getting an authentication error that I know has to do with the Nonce. In the tutorial, Rory fixes this problem by dropping a new 32 character Nonce out of thin air. When I try to do the same (or at least repeat the same four characters eight times in a row), this does not fix the issue.

@alne4294
Copy link

I'm having the same issue and have replayed the tutorial multiple times to ensure that I followed the correct steps.

This is the only Twitter Community forum that I could find on the topic and the nonce I used was composed of 32 alpha-numeric characters like it sounds like it should be.

Has anyone had any luck with this?

Thanks,
Alexia

@doubleshow
Copy link
Contributor

Make sure you've created a Twitter account.
If you have made your best effort and still unable to resolve this authentication issue, you can skip this and make this up during the class on Monday without losing any point. We will set aside some time to troubleshoot the authentication issue together.

To prove that you've made the best effort, you must report an issue about this, like what cwitty1919 and alne4294 did.

@alne4294
Copy link

Okay, I'll make a separate issue. I have a Twitter account, so that's not the culprit. Thanks.

Alexia

@indiesquidge
Copy link

I had this same issue. What worked for me was creating an alpha-numeric string (like specified above, I like to either copy and paste the nonce that is already there 5 times and then add two characters, or use ABCDEFGHIJKLMNOPQRSTUVWXYZ123456). Then you have to first refresh your request before sending it again. This was the solution for me, since my problem kept coming up when I would simply send another request after fixing the nonce. Try refreshing and then sending. Let me know if this works.

@alne4294
Copy link

Thanks Austin!! That fixed the problem. When I refreshed before, I though all my data disappeared, but it turns out it just changed the view.

I'm glad that it's working... I'll close the issue I opened.

@wannabeCitizen
Copy link

I highly recommend going this route for the Twitter API: https://dev.twitter.com/oauth/application-only

I'm not sure what the tutorial said, but I'm unsure why you're using nonce for an application-only access of the API on only your user.

@ianks
Copy link

ianks commented Sep 15, 2014

Try this command: date | md5

That takes the current datetime and hashes it with md5 (which is 32 chars).

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

5 participants