Implementation for deleting a direct message is different from the twitter api. Twitter rest api expects direct message id as post parameter not in the url itself. Every time I'm getting this error message --code 34: Sorry, that page does not exist https://api.twitter.com/1.1/direct_messages/destroy/176917417644138497.json