Tutorial let you know to get the Pinterest Access Token in simple 3 steps. The Pinterest authenticate requests between app and users using OAuth 2.0. Using authenticate method user can select what to share with the public and other users. we are going to see how to generate the access token for Pinterest, so we can show our feeds on our WordPress website using a plugin. The Pinterest has changed the way to generate the access token. Now, It brings a third party, GetPostman, to generate the access token.
A – Create App to get App ID and App Secret
B – Create Postman Account and Download and Install
C – Configure Postman App to get Access Token
First, go to Pinterest Add Developer dashboard using the below URL, this will ask for login. So, log in to your account and accept their term and conditions. Provide App Name and Description same as the screenshot and click on create button.
Developer APP Dashboard URL – https://developers.pinterest.com/apps/
Now, update App Details like update 2 things as below screenshot:
Site URL – https://weblizar.com (you type your website URL)
Redirect URL – https://www.getpostman.com/oauth2/callback
Copy and keep the App ID and App Secret from the created APP.
Now go to the Postman, create a new account there, it’s totally free. Download the Postman app and install on your computer.
Postman Website URL – https://www.getpostman.com/
Download the App – https://www.getpostman.com/apps
After installation opens the Postman app and sign-in.
Select Get method
Save Request Collection
Configures the app as below:
1. Set the GET – https://api.pinterest.com/v1/me/pins
2. Type – OAuth 2.0
3. Add Authorization data to – Request URL
4. Click on Get Access Token button
Fill Request Token Form using given details and hit the request token button.
Token Name – Weblizar Pinterest Plugin Token
Grant Type – Authorization Code
Callback URL – https://www.getpostman.com/oauth2/callback
Auth URL – https://api.pinterest.com/oauth/
Access Token URL – https://api.pinterest.com/v1/oauth/token
Client Id – Paste the copied App ID (From Point A)
Client Secret – Paste the copied App Secret (From Point A)
Scope – read_public,write_public,read_relationships,write_relationships
Login with Pinterest account details And allow Pinterest App For Access Token
Finally, we received our Access Token for Pinterest Feed Pro plugin.
Now, apply and save the Access Token and enjoy the plugin.
I know this was a lengthy tutorial but Thanks for reading this complete article. Your feedback is appreciated.
Reference – https://developers.pinterest.com/docs/api/overview/
Thanks my dude helped me alot
Thanks a lot for this tutorial. I was able to generate the token.
I wanted to know how to use this token to automatically get different pins from Pinterest and display in my website.