Pinterest OAuth 重定向 URI 不工作

Pinterest OAuth Redirect Uri not working

我一直在努力让 pinterest api 在我的项目上工作,但我一直 运行 遇到 redirect_uri 的问题。这是我收到的错误消息。

{
    status : "failure",
    code : 7,
    host : "coreapp-ngapi-prod-0a018ab7",
    generated_at : "Sat, 15 Apr 2017 00:45:16 +0000",
    message : "You are not permitted to access that resource.",
    data : "The provided redirect_uri https://example.com/complete/pinterest/ does not match any of the registered redirect URIs."
}

我 运行 我的网站在 https 上。我在重定向 uri 中有 https://example.com/ set as the site URL and https://example.com/complete/pinterest/(我确保输入它以便它在列表中,并保存页面)

我可能做错了什么?

如果您确定已正确注册并使用 https,请尝试联系 Pinterest 支持

当您在 Pinterest 开发者板上添加新的重定向 URL 时,您必须确保:

  • 它是一个 HTTPS URL
  • 拼写正确

  • 非常重要记得按ENTER当你写完重定向 URL。新插入的 URL 将出现在文本字段下方,经典的 "you have unsaved changes" 将出现。

  • 单击 "Save" 按钮即可完成。

希望对您有所帮助。