我知道我可以在现在和过去创造一个动作。但是有可能创造一个存在于未来的东西吗?例如,我希望我的应用程序的用户能够通过时间线预约第二天的餐厅。我尝试了以下代码:
function postRestaurant() {
FB.api('me/APP_NAMESPACE:have_lunch?\
start_time=2011-12-12T04:00:00&\
expires_in=7200&\
restaurant=' + encodeURIComponent(getRedirectURI() + '?type=restaurant' + '&description=dynamicdescription' + '&title=dynamictitle'), 'post', function (response) {
if (!response || response.error) {
console.log('postRestaurant: Error occured => ' + response.error.message);
} else {
console.log('postRestaurant: Post was successful! Action ID: ' + response.id);
}
});
}
使用此代码,我可以在当前创建一个动作,并且在过去创建动作时它也可以工作,但它不想在将来创建动作。当我设置一个位于未来的 start_time 时,我总是会在我的时间轴上完成一个刚刚发生的动作:乐高在...吃午饭所以现在我在徘徊是否有可能?我在文档中没有找到任何关于这件事的信息。也许你有?