Re: [twitter-dev] Re: delete status with curl php

2009-12-11 Thread Abraham Williams
Before curl_close($ch); If curl_getinfo($ci, CURLINFO_HTTP_CODE) === 200 then the status was deleted sucessfully. If === to 404 then the status did not exist. You can read more about HTTP response codes http://apiwiki.twitter.com/HTTP-Response-Codes-and-Errors Abraham On Fri, Dec 4, 2009 at

[twitter-dev] Re: delete status with curl php

2009-12-04 Thread nite21
hi shiplu i made changes in this i changed $id to $uid $ch = curl_init('http://twitter.com/statuses/destroy/' . $uid . '.xml'); now my delete is working but it shows the whole xml on deletion and if the same id deleted again it shows me No status found with that id xml but i wanted when it is

[twitter-dev] Re: delete status with curl php

2009-12-03 Thread nite21
when i tested it show me Sorry the page doesnt exist hi shiplu pls help On Dec 3, 10:27 pm, shiplu shiplu@gmail.com wrote: curl_setopt($ch, CURLOPT_HTTPHEADER, array( Expect: ) ); -- A K M