tags:

views:

26

answers:

0

hello,

how do i add a link in message?

$msg = 'hello, how are you, we posted an update on our site';
$action_links = array( array('text' => 'sitename', 'href' => "http://domain.com/news/latest.php"));
$action_links = json_encode($action_links);

works but without href link

$fbclient->api_client->stream_publish($msg);

works but without href link too

$fbclient->api_client->stream_publish($msg,null,$action_links);

how do make it appear a href link?