How to send direct message using pure php n curl

directmessages

#1

My oauth header is correct according to http://quonos.nl/oauthTester/. I’m still getting
RESOURCE URL: https://api.twitter.com/1.1/direct_messages/new.json

{“errors”:[{“code”:32,“message”:“Could not authenticate you.”}]}

when to used include_entities=true in url

can you give a sample request header and body of a successful request for sending direct message to a user and setting up a webhook.

Thank you