为什么我获取Pinterest应用程序授权失败



我刚刚在我新创建的应用程序上运行了下面的命令,并得到了Authorization Failed消息。我运行了令牌调试器,访问令牌很好。我该如何解决这个问题?

https://api.pinterest.com/v1/me/pins/?access_token=<ACCESS-TOKEN>&fields=id,creator,note&limit=1

响应:

{
"status": "failure", 
"code": 3, 
"data": null, 
"message": "Authorization failed.", 
"endpoint_name": "get_own_pins"
}

您需要将您的访问令牌包含在api.pintereset.comurl 中

https://api.pinterest.com/v1/me/pins/?
access_token=<YOUR-ACCESS-TOKEN>
&fields=id,note
&limit=1

用您的pinterest访问令牌替换<YOUR-ACCESS-TOKEN>

最新更新