I’m finally starting to look into Windows 8 . And the first metro style application I plan on making for Windows 8 is a Flickr Application.
There’s a great Flickr API library for .NET that I’ve previously used called FlickrNET and it’s an open source project hosted on codeplex. This library is great, it handles most of the API’s as well as the authentication/authorization logic.
I spent a couple of hours today turning it into a WinRT (XAML/C#) friendly library. The Developer Preview is too early to start contributing this to the codeplex project BUT when the beta arrives I’ll be happy to contribute then.
Here’s the sample code (hosted on skydrive):
In the sample there are 2 projects
1. FlickrNetMetro – this is basically taking the FlickrNet project from codeplex (mentioned above) and making it work with the WinRT bits.
2. FlickrMetroTest – a XAML/C# project that makes use of the FlickrNetMetro library.
In the XAML App I’ve made it as simple as possible, if you go to the MainPage.xaml.cs everthing you need to call the api is in there. I should point out that you need to fill in your API [App Key] & [Secret Key] , and you get these from the Flickr site when you register your app (which is free)
Video of the sample running ..
Pictures of the Metro Application
1. Request Authorization using the APIs
2. Once Authorization has been given from Flickr you need to let the application know
3. Once the application is authorized we can now start using other api calls that need an authenticated connection.
So now that I have a great Flickr library to use for my windows 8 metro adventures …. let the fun begin !!!!!