There’s not many libraries out there that helps you get started writing Win8 .NET XAML metro apps for twitter so I decided to take my FlickrWinRT library and turn that into a Twitter library (called TwitterWinRT).
It’s very simple and only has 4 twitter api’s wired up BUT it uses Async/Await pattern for all calls and does the OAuth stuff.
It also uses JSON serialization/deserialization instead of xml which is what I used in the FlickrWinRT library.
Also I haven’t been able to get any good sample code on how to use WebAuthenticationBroker, that’s the only thing missing here. I really wanted to use that class BUT am unable to work out how to do it, any help or .net sample code would be much appreciated
. For now it uses the traditional approach to OAuth.
Video demo
Picture explanation of what it does
1. Run the demo metro style app
2. Request Token (click ‘Request authorization’)
3. Take the provided ‘Token’ and use it to authorize the app for use by your account.
4. Once app is authenticated for use we make 2 simple calls to
a) retrieve user information
b) retrieve home timeline
Here is the sample code
Make sure to set the “TwitterMetroTest” as the startup project
Also make sure to fill in you API app key and secret key
Go forth and start making really cool .NET Metro style apps!!!!

Pingback: Here’s my Twitter library to get you quickly building WinRT Xaml.Net apps (TwitterWinRT) | Silverlight and other cool things …
Downloaded, updated the app keys, tested – works great!
The sample app is just a sample, so it is a bit limited, but that is nothing going through some twitter documentation and XAML crafting can’t fix, so I sense a fun weekend with your libraries ahead of me!
Everything works really well. The only problem that I have is I can’t update the status… I keep getting 401 unauthorized return like something in the signature isn’t building correctly. All of the gets work great! any ideas?
Check out the code here http://w8isms.blogspot.com/2012/05/posting-to-twitter-from-metro-in-c.html