我正在尝试用PDK (https://developers.pinterest.com/docs/sdks/js/)创建一个新的Pinterest Pin。
PDK.pin({
image_url: ImageUrl,
note: Description,
link: ShareUrl
}, function(res){
console.log(res);
});它使得请求,但没有一个参数(图像,链接和注意事项)似乎传递给api。pinterest共享pdk工作的一个工作示例可以在这个网站上找到:http://www.vogue.com/13382189/fair-isle-sweaters-runway-christmas-style/。
发布于 2016-01-14 01:29:03
我发现这个网站做了一个这样的别针:
window.open(
'https://www.pinterest.com/pin/create/button/?url=' + data.pdkShareUrl + '&media=' + data.pdkImageUrl + '&description=' + data.pdkDescription,
'share',
'width=600, height=300'
);https://stackoverflow.com/questions/34779849
复制相似问题