In the previous post “FlickrNET library for WinRT” I turned the .NET library into a WinRT friendly one. However as pointed out by Tim Heuer I was using the FROB approach to authentication, where as the latest FlickrNET library on codeplex uses OAuth.
So I happily downloaded the latest FlickrNet library and turned that to WinRT and now we’re using OAuth
HERE’S HOW IT WORKS IN CODE
Here’s the SAMPLE
Here’s how the process looks through screen captures
1. Click the “Request Authorization” and it will launch a URL to Flickr where an authorization token will be presented, we then copy that token to the clipboard.
2. Paste the “Authorization token” into the textbox of the app and click authorize. This will return us a “ACCESS TOKEN”
3. Use the ACCESS TOKEN to make API calls
Conclusion
This was a quick post just to get the OAuth bits working for the FlickrWinRT library.
The next post will be about turning this FlickrWinRT .NET library to something Xaml/C++ & HTML/JS can use.
Pingback: FlickrWinRT library now uses OAuth | Silverlight and other cool things …
Pingback: Here’s my Twitter library to get you quickly building WinRT Xaml.Net apps (TwitterWinRT) | Silverlight and other cool things …
Hey…did you ever get around to modifying this for HTML5/JavaScript apps? I am working on a new app and that would really help out and save me some time. Thanks for the posts.