Flickr Widget for Graffiticms Beta 1

Posted By: syuhada on Jan 19, 2008

Back in 2007 I wrote about how to create Flickr Add-in for Community Server 2007 website. Now it's even easier to create a Flickr widget on graffiticms. First, you need to have an API key, click here to get it. It shouldn't take long to complete the request process. Once it completes, please write down your API key and Shared Secret key. Second, don't forget to thank Sam Judson for his great FlickrNet API Library.

Now, let me describe the process in general. For Beta 1 purpose this widget simply search for recent photos of the account you put in and display them in thumbnails with direct link to the big photo at Flickr. For the next version, I'm planning to create some search options (e.g. Tags, Favourite, etc) .

Now let see how the implementation is. Basically it's the same as How do I Write a Widget post on Graffiti CMS website but I want to focus it to RenderData() method. When rendering data, I use the Flickr API to get the recent photos and display it on a table.

You can download the full source and the compiled dlls here.

Upload the two dll files from the source above to your Bin folder, you will see msFlickr on your widget admin. Click Edit to configure.

Click Update and you will see this widget running on your website.

Any question, comment and feedback are very welcome.

Comments

 avatar
#1
Shiva
01.25.2008

Nice ! Thanks for sharing the code with us.

Also, your user id is still pointing to localhost i.e. http://localhost/newsyuhada/

syuhada avatar
#2
syuhada
01.26.2008

Nice catch...thx :)

Leave a Comment