Skip to content Skip to sidebar Skip to footer

Twitter Stream Using Oauth In Python Behaving Differently On Two Equally Configured Machines

I have the same piece of coding to deal with Twitter User Stream running on two different machines. Both machines are Ubuntu Lucid using python 2.6.5, but on the machine in my home

Solution 1:

After many weeks trying to find what was the problem, I discovered that the clock was not well synced with the one responsible for the Twitter Stream. And therefore, Twitter returns 401: Unauthorized.

If you are using Ubuntu, you can solve this problem using ntpdate as following:

sudo ntpdate ntp.ubuntu.com

Post a Comment for "Twitter Stream Using Oauth In Python Behaving Differently On Two Equally Configured Machines"