Page 1 of 1

Pinterest Data API V5 : get access token via oauth2

Posted: Mon May 16, 2022 3:29 pm
by amirpaten8
Hi,

I am trying desperately to start the Oauth flow program with Python.

There is no clear example of how to do it.

in the page : https://developers.pinterest.com/docs/a ... entication

there is only this snippet code :

Here is an example request to the OAuth page:

Code: Select all

https://www.pinterest.com/oauth/?
client_id={YOUR_CLIENT_ID}&
redirect_uri={YOUR_REDIRECT_URI}&
response_type=code&
scope=boards:read,pins:read&
state={YOUR_OPTIONAL_STRING}
But there is no way how to use it? send it?


So please can someone give me a snippet of code for initiating Oauth.
Best Regards