【问题标题】:IFTTT Webhook to PinterestIFTTT Webhook 到 Pinterest
【发布时间】:2017-11-30 08:09:35
【问题描述】:

我正在尝试通过 webhook(Maker 服务)将图像发布到 Pinterest 板,但每次尝试我都会得到 成功 响应,但在 IFTTT on actions 中,我看到一个 Applet 失败:Pinterest 服务出现问题消息。有什么问题?我尝试发布的图片托管在我自己的服务器上。

function pinterest_post(image, description, boards) {
request({
    url: 'https://maker.ifttt.com/trigger/pinterest_post/with/key/*******-***********-*',
    method: 'POST',
    json: {
        "value1": boards,
        "value2": image,
        "value3": description
    }
}, function (error, response) {
    if (error) {
        console.log('Error sending message: ', error);
    } else if (response.body.error) {
        console.log('Error: ', response.body.error);
    } else {
        console.log(response);
    }
});

}

【问题讨论】:

    标签: webhooks pinterest ifttt


    【解决方案1】:

    您可能无法将多格式数据的图像发送到 pinterest webhook。我自己现在正在尝试弄清楚如何做到这一点。我不相信你能做到,看这篇文章:Can I post an image in json request to URL in IFTTT Maker Trigger?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-08-24
      • 2021-11-06
      • 2018-04-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多