Facebook feed publishing form not appearing

Posted by Arkid on Stack Overflow See other posts from Stack Overflow or by Arkid
Published on 2010-05-06T17:00:09Z Indexed on 2010/05/06 20:18 UTC
Read the original article Hit count: 321

Filed under:
|
|
|

I am trying to publish feed through feed form but the feed form doesnot appear. However, the update happens and it happens twice. Also it says "Error thrown by application" in the dialog box.

$message = "has invited you for all for hanging out wid him...the details being..";

//$facebook->api_client->stream_publish($message,null,null,$user,$user);

$attachment = array(
'name' => 'Name',
'href' => 'http://www.facebook.com',
'caption' => 'Caption',
'description' => 'Description');
$attachment = json_encode($attachment);

$action_links = array(array(
'text' => 'Action Link',
'href' => 'http://www.facebook.com'));
$action_links = json_encode($action_links);

$facebook->api_client->stream_publish($message, $attachment, $action_links);

Please tell me what can be done here?

© Stack Overflow or respective owner

Related posts about facebook

Related posts about fbjs