How to Delete a Direct message in PHP
this is my script:
function deleteDirectMessage($id)
{
if (!is_numeric($id)) {
return false;
}
$request =
'http://twitter.com/direct_messages/destroy/'.$id.'.xml';
return $this->process($request);
}
I found out that the request must be passed as a HTTP request (POST /
DELETE) How to do this?
thanks
