To install the Skybrud.Social.Pinterest, simply pick one of the three methods below:
Skybrud.Social.Core.dll
to the bin directory of your project.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).
Although still a bit limited, further documentation can be found at the Skybrud.Social website.