Dariusz quatscht - Programming Twitter with WCF 3.5
"Do you Twitter? If so, this could be of interest for you. If not, maybe you are interested in how to use the Twitter REST API to write own client applications.
Imagine you could just use Twitter from your code like this:
1: TwitterStatusProxy proxy = new TwitterStatusProxy( "username", "password" );2:3: // retrieve friends timeline4: XElement timeline = proxy.GetFriendsTimeline();5:6: // do whatever you want to do with the dataI just wrote up a demo for a security talk I gave last friday, using the Twitter API from WCF 3.5. ...
Anyway, I want to show you how to use Twitter with WCF 3.5. Here we go. Twitters API is almost an authenticated one, this means for most calls you have to authenticate yourself before calling into the API. Therefore I have chosen to always provide a username and password in the constructor of the proxy class. I decided also to use for each category an own proxy implementation.
..."
I really want to start playing with WCF and thought this was a cool example of using it, it's 3.5 goodness and Twitter. He makes it looks easy, doesn't he? lol...
Now I want to build a Windows Live Writer plugin that posts a Shrinkster or TinyURL link to my Twitter when I publish a new post. ;)
No comments:
Post a Comment
NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...
ALL comments are moderated. I will review every comment before it will appear on the blog.
Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...
I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...
Please see my comment policy for more information if you are interested.
Thanks,
Greg
PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...