Pinterest is a social network where people can find inspiration and ideas for their interests and hobbies.
Every idea is represented by a Pin, which is an image that is searched and saved by Pinterest users. Pins can also link back to websites, which is why Pinterest is great for driving traffic and sales.
And most importantly for businesses, Pins help people find more information on products they’re looking to buy.
CodeHelper.API.Pinteres
CodeHelper.API.Pinterest is a lightweight and easy to use .NET Pinterest Wrapper letting you to manage your baords and pins (including create, update and delete
Code
To generate your App access code, you can use my online tool
PinterstHelper _helper = new() {AccessToken = "{accesstoken}" };
List Boards
var _boards = await _helper.BoardsGetList();
Create a new Board
var _newboard = await _helper.BoardCreate("Code Examples"
, "Discover the latest code examples by CodeHelper");
List Pins for a a given Board
var _pins = await _helper.BoardListPins("1038220589036341017");
Create a Pin
await _helper.CreatePin("https://webstories.today/watch/the-beginnings-of-sergey-brin/webplayer"
, "Sergey Brin's Beginnings In 1 Minute"
, "1038220589036341017" // Board ID
, "How did entrepreneur Sergey Brin, co-founder of Google started his success?"
, "images/jpeg"
, "https://webstories.today/images/s/the-beginnings-of-sergey-brin-cover.jpg");
Delete a Pin
await _helper.PinDelete("123457"); //123457 = ID of the pin
Top comments (0)