开发者

How can I hide the image link in facebook wall with the Graph API?

I have posted a message to my facebook wall through my web site, that contains also a picture. What I want now is hide the link of the picture that is shown there but still make the picture work as a link. I am using:

$facebook->api('/me/feed', 'post', array('message'=> $message, 'description'=> $des开发者_如何学Pythoncription, 'picture'=> $image, 'cb' => ''));   

Does anyone know how to do this?


Seems like what you need is to use old REST API call stream.publish and pass an attachment. It has far more options and you can have separated links for image itslef and the one mentioned in post.

See: stream.publish, attachment format, how to call old REST API methods from new API

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜