gpt4 book ai didi

php - 发布到时间线 - 过去的日期

转载 作者:搜寻专家 更新时间:2023-10-31 20:48:04 24 4
gpt4 key购买 nike

(菜鸟问题)使用 PHP SDK 附带的 example.php,我可以成功发布到我的时间线。

我希望能够设置日期,所以我添加了:

:
:
'created_time' => "2012-06-21T13:46:10+0000",
'updated_time' => "2012-02-19T14:46:10+0000",
'actions' => array(
array(
'name' => 'Get Search',
'link' => 'http://www.google.com'
)
)
);


$result = $facebook->api('/me/feed/', 'post', $attachment);
?>
<?php endif ?>

但是 created_time 被忽略了,帖子总是“现在”。我四处寻找解决方案,但一无所获。我做错了什么,是打字错误,还是不可能这样?

在网络上我确实找到了关于在过去放置“ACTIONS”的文章 - 例如:How can I add a custom date to the facebook timeline through graph api

这是(唯一的?)方式,创建一个“发布”操作,,。与 start_time 等?有关如何执行此操作的任何链接(在 PHP 中?)

最佳答案

你只能create actions in the past ,而不是使用 API 的帖子。但是,您可以使用事件日志手动更改帖子的日期 - 看起来这个功能还不能通过 API 使用。

关于php - 发布到时间线 - 过去的日期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11142293/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com