Thomas Freudenberg

Confessions of a caffeine addict

Twitter Publisher for CruiseControl.NET

Some weeks ago I posted a CC.NET task which pushes build results to a blog using the MetaWeblogAPI. This might be a feasable solution for projects which sources aren’t updated that often. Otherwise that blog would be really cluttered, and you won’t be able to keep track of all the build results.

Several month ago a new social networking site started called Twitter. It offers a kind of micro-blogging service, allowing its users to send text-only stati, up to 140 characters long. Whenever you update your status, it is delivered instantly to other users who have put you to their “friends” list. Though you can receive the updates of your friends via an RSS feed, it is more common to either use Twitter’s website or a desktop client such as TeleTwitter. Additionally, Twitter offers a RESTful API.

Therefore it was pretty obvious to write a CC.NET task which announces new build results on Twitter. The project manager creates a special Twitter account and configures CC.NET to post build results as updates for that user. The developers then just have to add that user to their friend list, and will get the announcements in the Twitter front-end of their choice.

The attached ZIP file contains both the sources and the compiled assembly, which you have to dump into CC.NET’s server directory. The configuration of the task is pretty easy, just specify the user and the password of the Twitter account.

<publishers>
    ...
    <twitter>
        <user>username</user>
        <password>password</password>
    </twitter>
    ...

Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# June 17, 2007 3:35 PM

Simone said:

Wow... that is great!!

# June 17, 2007 3:35 PM

CodeClimber said:

Twitter Publisher for CC.NET

# June 17, 2007 4:42 PM

CCNetConfig said:

Twitter Publisher Support

# June 17, 2007 8:04 PM

jayson knight said:

A lot of folks have been saying things like "what's the big deal about Twitter"...it's ideas like this which will quickly prove the usefulness of a service like Twitter (I've had a couple of ideas, mainly more along the lines of office productivity type stuff), however Twitter itself needs to become more stable before anyone can start staking anything even semi-mission critical in it.

Well done!

# June 18, 2007 12:00 AM

Keyvan Nayyeri said:

Very good job, Thommi :-)

# June 18, 2007 5:02 AM

Keyvan Nayyeri said:

I never had used CruiseControl.NET for TFS until last week when Thomas Freudenburg did a very nice job

# June 22, 2007 1:31 AM

CCNetConfig said:

CCNetPlugins - New Publishers

# April 28, 2008 10:55 AM

Recent Links Tagged With "teletwitter" - JabberTags said:

Pingback from  Recent Links Tagged With "teletwitter" - JabberTags

# October 6, 2008 7:04 AM

michael eaton said:

Twittering build status from cc.net

# December 10, 2008 6:40 PM

bally said:

Hi ,

what is the best way to get the following information with Twitter API without getting Login Credentials for twitterUserA:

1)suppose I have a user called  twitterUserA

I want to get detailed information for people who are following him and his followers.

2)so i need Followersname, FollowerID, FollowersFollowerCount,FollowersFollowingCount,followersUpdates#,and other info if possible.

what is the fastest and best way to get information for a given twitter account without asking for twitter Log in  credentials (username and password)

thanks

Bally

# May 28, 2009 8:10 AM

Thomas Freudenberg said:

Bally, I suggest you consult the official Twitter API for that.

# June 3, 2009 6:23 AM

Meandering thoughts » Blog Archive » How to write a CCNet publisher in C# said:

Pingback from  Meandering thoughts  &raquo; Blog Archive   &raquo; How to write a CCNet publisher in C#

# July 16, 2009 11:31 AM