Examples

Coding 4 Fun

I recently wrote an article for the Coding 4 Fun team at Microsoft giving a 'getting started' guide to using the FlickrNet API library. It includes example code in both C# and VB.Net. I'd highly recommend it as a way to get started.

http://blogs.msdn.com/coding4fun/archive/2006/11/22/1126978.aspx

Example Application

Download example application updated for Flickr.Net v3 & Visual Studio 2008: ExampleApplication2008.zip

Download example Visual Studio 2005 Web Site here: FlickrNetWebSite.zip

Other Examples

Below are a selection of short sharp snippets of code that provide examples of how to accomplish certain things with the Flickr API.

Most of the examples below use an instance of the Flickr class called flickr. It is assumed that this instance has been created with the relevant API Key, Shared Secret (and Auth Token where applicable).

Flickr flickr = new Flickr("API_KEY", "SHARED_SECRET");

or

Dim flickr As New Flickr("API_KEY", "SHARED_SECRET")

ExampleSimpleSearch Some simple searches
ExampleGettingMoreThanOnePage Managing searches that return more than one page of results
ExampleFindAPerson Finding a person on Flickr
Example23HQAndZooomr Using 23HQ and Zooomr
ExampleConfigFile How to use a web.config or app.config file to override settings
ExampleGeoSearch Searching for geo tagged photos within some co-ordinates
ExampleGetSetGeo Getting and Setting geo location information

Last edited Mar 30, 2010 at 7:55 PM by samjudson, version 18

Comments

Douglas29 Sep 4, 2012 at 11:35 AM 
Actually, I solved my own problem. The download package comes with other DLLs for Silverlight etc and I had to delete the others and leave FlickerNet.dll in the Bin directory and then it worked.

Douglas29 Sep 4, 2012 at 10:11 AM 
Hello, I keep getting an error "'Flickr' is ambiguous in the namespace 'FlickrNet'". Am using .NET Framework 4.0. Any help would be appreciated. Thank you.

MarioMajcica Feb 28, 2011 at 7:23 AM 
Another useful example you can find it here: http://www.codeproject.com/KB/aspnet/flickrdotnetpage.aspx