New TwitterListener

As a result of some status-update logging we've been doing, I've just added a new listener to CFLogger: TwitterListener. Once configured, this listener will post any message as a status update to a given Twitter account.

It uses the Twitter API via basic authentication, so you'll need to initialise the TwitterListener instance with your Twitter account username and password.

Note that posts to the Twitter API are rate-limited to (currently) 150 requests per hour. If you send more messages than that, you're likely to be blacklisted, so don't send all your DEBUG messages via this listener!

If anyone finds any particularly funky uses for this, let me know.

BlogCFC was created by Raymond Camden. This blog is running version 5.5.006. | Protected by Akismet | Blog with WordPress