I statrted using
Twitter lately , Twitter, is getting famous day after day, and many ppl enjoy using it, even marketing guys are using it as part of thier marketing tool box.
since im a newbie to
Twitter i'm not yet interested in following others, but im interested in updating my status there regualry and easily without the need to go to
Twitter.com , log in, type the new status message, and click the update button, actually this was making me frustrated , and i was thinking if there is an easier way, actually there are some ways, you can your mobile, or a very limited IM's support to update your Twitter status, however, i wasn't going to use my mobile, currently i have a Nokia N76 mobile, so to type somthing, i have to type on the mobile tinny keyboard..well i always hated doing that its time consuming.. and i wasn't going to buy a new mobile just for twittering :)
For the IM support, its very limited just GTalk,Jabber,LiveJournal.. but there is nothing for MSN Messenger, Yahoo Messenger, AIM .
What i was wishing to have is, the ability to make my
Twitter status get updated every time i change my personal status message in my MSN messeneger... and this is what i did when i didn't find it anywhere.
Because
Twitter is a Web 2.0 service ( as an undocumented property of any Web 2.0 service, is that they should have an API that can make other services built on top of data provided by the actual Web 2.0 service) , it provides an
API that can be used to access the Twitter data, this include Updating your status.
Since
MSN Messgener Live 8.0, It started to support Add-In's which are .NET 2.0 assemblies that can be added to enhacne your messenger fucntions.
Messenger Add-In's is disabled by default, and you will need to work on enabling it, the following article is a great one that takes your through
Msn Messenger Add-In programming,
"Your first Windows Live Messenger add-in" , once you finish this you will be half the way there.
Next thing you will need to do, is doing your .NET Twitter API wrapper, its not that complex thing to do ,but if you want to save your time, you can use Yedda .NET Twitter API.
The part of making messenger add-in updating your twitter status is trivial , just use a timer to check your personal status message and call the twitter update API to copy whatever status message you have.
However, what is not really trivial is making your Add-In work, because it will not by default, this is because Code Access Security (CAS) , which will prevent your add-in form making web requests and in our case we always going to do web requests, when you run your add-in, you will get an exception about "Failed to get web perimission " for your add-in dll.
This got me frustrated for a while till i got over it by doing the following:
1- Sign your Add-In dll.
2- Add your dll to your GAC.
and its done, and now Even my msn messenger is twittering