简体   繁体   中英

does facebook post api fied description support html

Will the description field support html tags

$facebook->api("/me/feed", "post", array(
    message => $des,
    picture => $img,
    link => $link,
    caption => $title ,
    description =>$desc
));

I would looking to have description as

$desc="hai to <strong>All</strong><br>I am on the nextline";

Thanks in advance

No, facebook doesn't interpret formatting in the description field (simply shows as them you send it), and you can't place newlines. If you want to add extra links to the message you can use the properties field of the Post object .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM