Hello,
I am encountering a rather weird problem when authenticating my app with Twitter using Tweepy. Below code works like a charm on my Mac, but it fails on my NAS.
On my NAS I get this error code from the Twitter API:
On my Mac I use Python 3.7. On the NAS it's Python 3.5. This is the only obvious difference that I could find, but I cannot believe that this is the reason authentication is working on one machine, but not on the other.
I use Tweepy 3.7.0.
Any ideas what could cause this?
I am encountering a rather weird problem when authenticating my app with Twitter using Tweepy. Below code works like a charm on my Mac, but it fails on my NAS.
On my NAS I get this error code from the Twitter API:
[{“message”:”Could not authenticate you”,”code”:32}]This is my code:
auth = tweepy.OAuthHandler ( apiKey, apiSecretKey ) auth.set_access_token ( accessToken, accessTokenSecret ) api = tweepy.API(auth, wait_on_rate_limit=True) myID = api.me().idKeys, tokens and secrects are identical on both machines. I have already refreshed them once, but it doesn't help.
On my Mac I use Python 3.7. On the NAS it's Python 3.5. This is the only obvious difference that I could find, but I cannot believe that this is the reason authentication is working on one machine, but not on the other.
I use Tweepy 3.7.0.
Any ideas what could cause this?