2012-01-30 10 views
0
$params = array(
'access_token' => $this->facebook->getAccessToken(), 
'message' => 'My message', 
'picture' => 'http://bookshop.fbsocialapps.com/images/homepage-illustration.jpg', 
); 

$post_id = $this->facebook->api('/'.$result['id'].'/feed','post',$params); 
//$result['id'] is the id of the event 

これを行うと、メッセージのみが公開されます。 $ result ['id']を "me"に置き換えると、正しくパブリッシュされます。私はリンクを公開するときに全く同じ問題を抱えています。あなたのコードを少しオフになっているが、それは、FBのバグだあなたの助けグラフAPI経由でイベントに画像やリンクを投稿するにはどうすればいいですか?

答えて

関連する問題