【发布时间】:2014-05-25 00:23:18
【问题描述】:
我只需要这样做。 绝对是我查找有关此问题的每个问题,但他们的答案都没有帮助我解决它。
我正在尝试在我的 Facebook 页面上发帖。
问题来了:
错误: "(#100) 您不能在已发布的帖子上指定预定的发布时间"
代码:
FB.api(
"/100177680105780/feed",
"POST",
{
"message": "This is a test message",
"scheduled_publish_time": Math.round(new Date().getTime() / 1000) + 120
},
function (response) {
console.log(response);
if (response && !response.error) {
/* handle the result */
}
});
我不知道为什么这会给我这个错误。即使我在帖子内容周围添加“对象”:{},它也不起作用。我尝试更改 UNIX 时间戳,我尝试更改消息,我尝试设置 "published": false 并且没有运气。
任何指导都会很棒。
【问题讨论】:
标签: javascript facebook api facebook-graph-api facebook-javascript-sdk