Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get domain name for pinterest api

Tags:

api

pinterest

Currently I am working on pinterest api to get pin from my domain. I am able to get access token by api. Than I am making api call to get domain pin by using below :

https://api.pinterest.com/v3/domains/<domain>/search/pins?access_token=ACCESSTOKEN

But I am not sure what to put as <domain>.

How can I know what is my domain name in pinterest.

Note : I have created app using http:developer.pinterest.com/manage

Also, there is not any provision of domain name over there, it should be your profile name or we may have to make some different process to get domain name.

like image 697
Sagar Joshi Avatar asked Nov 10 '22 21:11

Sagar Joshi


1 Answers

the value of domain is the domain of your website, in other words this link searches pinterest for everything already pinned from that website

https://api.pinterest.com/v3/domains/mywebsite.com/search/pins?access_token=ACCESSTOKEN

like image 90
Mousey Avatar answered Nov 15 '22 13:11

Mousey