Skip to content

MartinAmsinck/Skybrud.Social.Pinterest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skybrud.Social.Pinterest

Installation

To install the Skybrud.Social.Pinterest, simply pick one of the three methods below:

  1. NuGet Package
    Install this NuGet package in your Visual Studio project. Makes updating easy.
  2. ZIP file
    Grab a ZIP file of the latest release; unzip and move the DLL files to the bin directory of your project.
  3. Builds
    I may occasional upload a build to Dropbox. These are builds in between releases, and are not tested at the same level as releases. As above, move Skybrud.Social.Core.dll to the bin directory of your project.

Usage

Initializing a new OAuth client

The PinterestOAuthClient class is responsible for the raw communication with the Pinterest API as well as authentication. The class can be initialized with one of the constructors, or simply by setting the properties like in the examples below:

// Initialize and configure the OAuth client
PinterestOAuthClient client = new PinterestOAuthClient {
    AccessToken = "Insert your access token here"
};

or:

// Initialize and configure the OAuth client
PinterestOAuthClient client = new PinterestAuthClient {
    ClientId = "Insert your client ID here",
    ClientSecret = "Insert your client secret here",
    RedirectUri = "http://social.abjerner/pinterest/oauth/"
};

Authentication requires that you specify the client ID, client secret and redirect URI of your app (client).

Documentation

Although still a bit limited, further documentation can be found at the Skybrud.Social website.

About

Skybrud.Social authentication and service implementation for the Pinterest API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 99.3%
  • Other 0.7%