【发布时间】:2016-05-08 11:09:40
【问题描述】:
我正在扩展一个应用程序,以使用 Buffer API 将半自动发布到社交媒体。我无法将更新发布到 Buffer。
使用Postman 使用API,一切都已成功验证,我可以GET 任何我需要的东西,但是,当我尝试POST 更新时,我不断收到错误"Please select at least one account to post from" 返回.
将所需参数添加到邮递员后,我有以下请求网址,但失败:
https://api.bufferapp.com/1/updates/create.json?pretty=true&access_token=1/XXXXXXXXXXXXX&profile_ids[]=XXXXXXXXXXXX&text=This is an update
在阅读this twitter线程后,我也尝试了以下方法,但没有运气:
https://api.bufferapp.com/1/updates/create.json?pretty=true&access_token=1/XXXXXXXXXXXXX&profile_ids%5B%5D=XXXXXXXXXXXX&text=This is an update
完整的错误/响应是:
{
"success": false,
"message": "Please select at least one account to post from.",
"code": 1004
}
相关文档为here。
我忽略了什么?我偷偷地怀疑这是我没有看到的简单的东西。
非常感谢任何帮助:)
【问题讨论】: