facebook中的锚文本?
我刚刚决定构建一个应用程序来facebook中的锚文本?,facebook,hyperlink,status,Facebook,Hyperlink,Status,我刚刚决定构建一个应用程序来stream\u publish发布到我用户的时间表。 除了一个表面上的小错误,在facebook中,我不知道如何实现锚文本,一切都正常工作。例如视频应用程序如何发布: the users name followed by "has watched ####." 或 已经观看了 我这样做: function publish_wall($link='',$message='',$caption='',$description='',$picture=''){
stream\u publish
发布到我用户的时间表。
除了一个表面上的小错误,在facebook中,我不知道如何实现锚文本,一切都正常工作。例如视频应用程序如何发布:
the users name followed by "has watched ####."
或
已经观看了
我这样做:
function publish_wall($link='',$message='',$caption='',$description='',$picture=''){
try{
$ch = curl_init('https://graph.facebook.com/'.$this->Session->read("gid").'/feed?access_token='.$this->Session->read("access_token"));
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "link=$link&message=$message&caption=$caption&description=$description&picture=$picture");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec ($ch);
curl_close ($ch);
}catch(Exception $efeed){
}
}
祝你好运
function publish_wall($link='',$message='',$caption='',$description='',$picture=''){
try{
$ch = curl_init('https://graph.facebook.com/'.$this->Session->read("gid").'/feed?access_token='.$this->Session->read("access_token"));
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "link=$link&message=$message&caption=$caption&description=$description&picture=$picture");
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
$res = curl_exec ($ch);
curl_close ($ch);
}catch(Exception $efeed){
}
}