Skip to content
Sam Judson edited this page May 1, 2015 · 1 revision

Examples

This page will attempt to create a wide selection of examples of how to use the Flickr.Net API Library.

Installation

The easiest way to get up and running is to install via NuGet

Install-Package FlickrNet

If you are using Windows Phone (Silverlight mode) then use the FlickrNet.WP7 package. For plain Silverlight use FlickrNet.Silverlight package.

For Windows Phone 8 and Windows Store apps you'll need to use the Experimental repo over here

Initialisation

You can initialise a blank Flickr instance, and set the properties, or pass certain properties into the constructor:

Flickr flickr = new Flickr();
flickr.ApiKey = myApiKey;

or

Flickr flickr = new Flickr(myApiKey);

Their are 4 primary initial properties.

  • ApiKey must always be set.
  • SharedSecret must be set if you plan to use authentication.
  • OAuthAccessToken and OAuthAccessTokenSecret must be set if you already have a valid OAuth access token.
Clone this wiki locally