Re: [twitter-dev] 401 API Authentication Error

2009-11-29 Thread Mark McBride
The switch from 2018 back to 2009 shouldn't matter.  However if your
clock is behind, we will reject requests.  Is the current clock synced
with NTP and on the correct time zone?

   ---Mark

On Sat, Nov 28, 2009 at 9:32 PM, JDG ghil...@gmail.com wrote:
 That's my first bet -- the oauth_timestamps you used when your date is 2018
 are newer than the ones you're using now, and that would probably return
 invalid timestamp / nonce errors.

 On Sat, Nov 28, 2009 at 16:34, Raffi Krikorian ra...@twitter.com wrote:

 that's intriguing - but you'll have to provide a lot more information:

 are you using oauth, or basic auth?
 what endpoints are you calling when you are getting the error?

 Hi

 We have a program that uses the Twitter API that we wrote and it (used
 to) work fine but recently we had to change the computer date we were
 calling our program from to 2018 instead of 2009 - this was done as a
 temporary test for another application we were running on that same
 computer unrelated to Twitter.

 Anyway, after we changed the date to 2018 - the Twitter API program
 still ran OK but when we then put the date back to 2009 our Twitter
 program wont run and is now reporting the following.

 The remote server returned an error: (401) Unauthorized.

 But when we switch back to 2018 ..it runs fine.

 Can anyone shed some light on thsi please ?  Is ther some date related
 switch we are missing in our Twitter program ?

 Thanks !

 --
 Raffi Krikorian
 Twitter Platform Team
 ra...@twitter.com | @raffi






 --
 Internets. Serious business.



Re: [twitter-dev] 401 API Authentication Error

2009-11-28 Thread Raffi Krikorian

that's intriguing - but you'll have to provide a lot more information:

are you using oauth, or basic auth?
what endpoints are you calling when you are getting the error?



Hi

We have a program that uses the Twitter API that we wrote and it (used
to) work fine but recently we had to change the computer date we were
calling our program from to 2018 instead of 2009 - this was done as a
temporary test for another application we were running on that same
computer unrelated to Twitter.

Anyway, after we changed the date to 2018 - the Twitter API program
still ran OK but when we then put the date back to 2009 our Twitter
program wont run and is now reporting the following.

The remote server returned an error: (401) Unauthorized.

But when we switch back to 2018 ..it runs fine.

Can anyone shed some light on thsi please ?  Is ther some date related
switch we are missing in our Twitter program ?

Thanks !


--
Raffi Krikorian
Twitter Platform Team
ra...@twitter.com | @raffi






Re: [twitter-dev] 401 API Authentication Error

2009-11-28 Thread JDG
That's my first bet -- the oauth_timestamps you used when your date is 2018
are newer than the ones you're using now, and that would probably return
invalid timestamp / nonce errors.

On Sat, Nov 28, 2009 at 16:34, Raffi Krikorian ra...@twitter.com wrote:

 that's intriguing - but you'll have to provide a lot more information:


- are you using oauth, or basic auth?
- what endpoints are you calling when you are getting the error?



 Hi

 We have a program that uses the Twitter API that we wrote and it (used
 to) work fine but recently we had to change the computer date we were
 calling our program from to 2018 instead of 2009 - this was done as a
 temporary test for another application we were running on that same
 computer unrelated to Twitter.

 Anyway, after we changed the date to 2018 - the Twitter API program
 still ran OK but when we then put the date back to 2009 our Twitter
 program wont run and is now reporting the following.

 The remote server returned an error: (401) Unauthorized.

 But when we switch back to 2018 ..it runs fine.

 Can anyone shed some light on thsi please ?  Is ther some date related
 switch we are missing in our Twitter program ?

 Thanks !


 --
 Raffi Krikorian
 Twitter Platform Team
 ra...@twitter.com | @raffi







-- 
Internets. Serious business.