Wouldn't it be great to let your clients receive instant notifications about their site status using twitter? Imagine that a site has gone down, your check tool traces the error and sends that information to twitter. This way your clients will know, at that very moment, what is happening.
Now, thanks to Simon Maddox, this is a very easy thing to do—first copy the code from this site (it is also on the Wiki, see the second link):
Copy the code into a file called
application/libraries folder. Now call this library as always:
$this->load->library('twitter'); $this->twitter->auth('twitter_account','password'); ...