-1
我尝试使用facebook api将facebook状态发布到页面。我得到这些帖子的数组返回(id)。但它不会显示在页面时间轴上。我尝试访问这些页面的Facebook饲料图。我得到结果。帖子未显示在页面上
fb页码:https://www.facebook.com/testscrap?ref=hl(没有时间线显示)。但我实际上有一个帖子从facebook图访问(https://www.facebook.com/348759318542072/posts/350492115035459)
我在哪里出错?
这里是张贴代码:
来自于作者的评论$feed_dir = "/{$page['page_id']}/feed/";
$msg_body = array (
'access_token' => $page['access_token'],
'message' => 'Jingle bell jingle bell jingle all the way',
'picture' => 'http://assets.kompas.com/data/photo/2012/08/26/0958534620X310.jpg',
);
try {
$result = $this->data['fbinstance']->api($feed_dir, 'post', $msg_body);
jlog($result);
} catch (Exception $e) {
$err_str = $e->getMessage();
jlog($err_str);
}
我可以在墙上看到两个“Jingle Bell ..”贴子。包括你直接链接到的那个 – ThoKra
真的吗?我没有看到任何东西。 –
http://d.pr/i/dGfE。由于缓存问题,Facebook有时更新缓慢。所以它适用于我,因为我没有使用相同的服务器,并且以前没有访问过该页面。 (也许答案) – ThoKra