Flickr

Flickr

The Flickr package (Skybrud.Social.Flickr) is still at an early stage, so there isn't any documentation at the moment.

Making calls to the API

Your entry point to the Flickr API is the FlickrService class located in the Skybrud.Social.Flickr namespace.

When accessing the Flickr API, there are a few ways for handling authentication:

App context

If you just need to access public information, you can authenticate on behalf of your app, which is identified by a consumer key and a consumer secret:

// Initialize a new instance of "FlickrService"
FlickrService service = FlickrService.CreateFromConsumerKey(
    "The consumer key of your app",
    "The consumer secret of your app"
);
    
// Start making calls to the API

User context

If you need to access on behalf of a specific, you need to obtain an access token and access token secret for that user, and then initialize the FlickrService class like:

// Initialize a new instance of "FlickrService"
FlickrService service = FlickrService.CreateFromAccessToken(
    "The consumer key of your app",
    "The consumer secret of your app",
    "The access token of the user",
    "The access token secret of the user"
);

// Start making calls to the API

You can consult the authentication page for further information on how to obtain an access token and access token for the user.