etoxin etoxin - 1 year ago 96
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:

Answer Source

I found out that the site was making a pin like so:
    '' + data.pdkShareUrl + '&media=' + data.pdkImageUrl + '&description=' + data.pdkDescription,
    'width=600, height=300'
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download