/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function tweet_error ($error, $description) { $username = 'yourusername'; $password = 'yourpassword'; $status = "#$error - $description"; $update_url = 'http://www.twitter.com/statuses/update.xml'; // http://identi.ca/api/statuses/update.xml will use identi.ca instead. return ($resultArray['http_code'] == 200); }
URL: http://www.bradshawenterprises.com/blog/2009/how-to-use-twitter-as-an-error-log/
Comments
