System clock must be correctly set when requesting request token
6,099 views
Skip to first unread message
Hedley Robertson
unread,
Jul 13, 2009, 3:53:33 PM7/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Twitter Development Talk
Hi, this was a bit of a tricky one to figure out, one of our
developers was having an issue where he would always get a 401
unauthorized from Twitter when requesting a request token. Turns out
that his virtual machine that he was running the code on was losing
time, badly. It was 3 days behind. Once I corrected the time,
Twitter oauth started working again. Makes sense now that I think
about it, but without any real error message it was hard to correctly
guess the nature of the problem.
Hope this helps someone later on.
Cheers.
Hedley Robertson
Blaine Garrett
unread,
Jul 13, 2009, 6:04:34 PM7/13/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Twitter Development Talk
Wow. Thank you for posting this! This fixed my problem. My host didn't
have the time sync initialized on the server I use and it was 2 hours
off. He enabled it and my code worked first try. Thank you so much.