Greetings,
We are using the following code. It does update a couple of times, but
not all the time-  very unpredictable. What are we missing?
*********************
$url = 'http://twitter.com/statuses/update.xml';

// Set up and execute the process curl
 $curl_handle = curl_init ();
 curl_setopt ($curl_handle, CURLOPT_URL, "$url");
 curl_setopt ($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
 curl_setopt ($curl_handle, CURLOPT_RETURNTRANSFER, 1);
 curl_setopt ($curl_handle, CURLOPT_POST, 1);
 curl_setopt ($curl_handle, CURLOPT_POSTFIELDS, "status=$message");
 curl_setopt ($curl_handle, CURLOPT_USERPWD, "$username:$password");
 $buffer = curl_exec ($curl_handle);
 curl_close ($curl_handle);

******************
Regards,
Subhankar Ray
http://AAfter.Com

Reply via email to