photobucket-silverlight


Silverlight 2 Library for Photobucket.com API

This is the beginning of a C# library for Microsoft Silverlight to interact with Photobucket.com's web service API. It uses the oAuth C# library found on Google code.

Adapting a library for oAuth authentication found on Google Code, Michael Scherotter, a Microsoft evangelist started the library and is looking for assistance in completing it.

The Photobucket API can be found at the Photobucket Developer Site

An example site that uses the API can be found at here with unit tests here.

To use the API, you need to get a Photobucket developer ID and key here

Supported APIs

All of these methods have been implemented are have unit test cases: * GetAccessToken() * GetAlbum() * GetFeaturedMedia() * GetMediaTagsForUser() * GetMediaTitle() * GetRecentUserMedia() * GetTimestamp() * LogOnTokenRequest() * Ping() * Search() * SearchGroupAlbums()

OAuth for Silverlight

Because the Photobucket API uses OAuth authentication, it's useful to have a library that handles that. Fortunately, I found a C# library on Google Code that I was able to adapt to Silverlight: * I changed the encoding from ASCII to UTF-8 here and here. * I moved the QueryParameter class into the Photobucket namespace to use it in the API code. * I added comments. * I fixed issues picked up by Code Analysis.

Project Information

Labels:
Photobucket Silverlight Photography Microsoft OAuth