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 status, 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

jayson knight

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!

Anonymous

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

Leave a Comment

Your email address will not be published. Required fields are marked *

Loading...