Code': code 220, 'message': 'Your credentials do not allow access to this resource


#1

Hello there,

I would like to create a robot with python which posted tweet every 15 mins.
My problem is, when i use api.update_status() fonction my IDE says me " code 220, ‘message’: 'Your credentials do not allow access to this resource".
I regenerated all my keys and tokens , i changed my permission , i created a new app but nothing change.

I need your help , because i don’t find any solutions to my problem.

thanks

Sorry for my english but i’m french


#2

It sounds like the authentication being used is for just an application not a specific user. Check the credentials used and make sure it includes a valid access token/secret for the user you want to tweet.