Sending Messages with POST direct_messages/new


#1

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?


#2

I have the same problem too :frowning: can’t find why


#3

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.

:wink: good luck

Albert