How is process() making the requests? Is it with CURL?
If so you should be able make it work by adding:
curl_setopt($handle, CURLOPT_POST, TRUE);

Abraham

On Mon, Aug 31, 2009 at 21:48, Pj <pravee...@gmail.com> wrote:

>
> 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
>



-- 
Abraham Williams | Community Evangelist | http://web608.org
Hacker | http://abrah.am | http://twitter.com/abraham
Project | http://fireeagle.labs.poseurtech.com
This email is: [ ] blogable [x] ask first [ ] private.
Sent from Madison, WI, United States

Reply via email to