-
Notifications
You must be signed in to change notification settings - Fork 38
Examples
Sam Judson edited this page May 1, 2015
·
1 revision
This page will attempt to create a wide selection of examples of how to use the Flickr.Net API Library.
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
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.