如何在Facebook消息中添加“个人资料链接”使用API?
现在我准备了这段代码:
$request = $this->fb->post('/'.$this->pageId.'/feed', [
'message' => "
I'ves been testing my IQ! @facebook \n\t
#test #testt #testowy\n\t
http://www.example.com
",
'name' => 'Some title',
'caption' => 'some caption',
'link' => 'http://www.example.com',
'actions' => json_encode(array('name'=>'Some name','link'=>'http://www.example.com')),
'description' => 'Some description @example',
'picture' => 'http://www.example.com/image.jpg'
]);
发表的帖子观点:
看起来很不错,但我想更改 @facebook 以链接到个人资料链接,如下所示:
published post view after changes (image)
一些建议,如何做到这一点?