Hi all. I am trying to write a script that will send a message to new followers using POST direct_messages/new. My account access level is read,write and direct messages but I am getting “Your credentials do not allow access to this resource” with code:220. I am not sure why this is. Am I missing something?
I have the same problem too can’t find why
solution go to twitter dev admin
create “Access token:” and “Access token secret:”
if you try to send message without these 2 things it’s not working.