etoxin etoxin - 4 months ago 31
Javascript Question

Create a new Pin with the Pinterest Javascript SDK

I'm trying to create a new Pinterest Pin with the PDK JS api ({
image_url: ImageUrl,
note: Description,
link: ShareUrl
}, function(res){

It makes the request but none of the params (image, link and note) seem to pass to the api. A working example of the pinterest share pdk working can be found on this website:


I found out that the site was making a pin like so:
    '' + data.pdkShareUrl + '&media=' + data.pdkImageUrl + '&description=' + data.pdkDescription,
    'width=600, height=300'