Tuesday, July 26, 2016

How to get pins from pinterest with Jquery



If you are familiar with PHP you can just use these existing projects from github

1- Pinterest API - PHP

Read more

To use the Pinterest API you have to register yourself as a developer and create an application. After you've created your app you will receive a app_id and app_secret.


2- Pinterest Bot for PHP

This PHP library will help you to work with your Pinterest account without using any API account credentials.

To have an access to Pinterest API you need to go to developers.pinterest.com and register as a developer, then register your application, then wait for confirmation, and only then you will get an access token. With this library you are already ready to go. Just use only your account login and password, like you do it in your browser. But even your account is not required, if your don't use such operations as creating pins, writing comments or sending messages!

Read more


So, in this case I would not follow the PHP code because it would hard for the beginner. I gonna work with jQuery instead in just a few line of code but the result will produce the landslide victories.

1- Copy the somebody pinterest name or your. ex : https://www.pinterest.com/{nameofsomeone}/
2- Create the function to get the request pins from url
3- Extract the object.

See Example

0 comments:

Post a Comment