Y0K3S3
By: a guest | Dec 24th, 2009 | Syntax:
C# | Size: 0.47 KB | Hits: 171 | Expires: Never
Curl.GlobalInit((int)CURLinitFlag.CURL_GLOBAL_ALL);
Easy.
ReadFunction wf
= new Easy.
ReadFunction(OnWriteData
);
string statusid = "idejemplo"; //Id del Status
easy.SetOptCURLoption.CURLOPT_URL,"http://twitter.com/statuses/destroy/" + statusid + ".xml");
easy.SetOpt(CURLoption.CURLOPT_POST,true);
easy.SetOpt(CURLoption.CURLOPT_USERPWD, _TWITTERUSER + ":" + _TWITTERPASS);
string code = easy.Perform().ToString();
easy.Cleanup();
Curl.GlobalCleanup();