开发者

FB.ui stream.publish - Formatting the description parameter

开发者 https://www.devze.com 2023-01-19 20:15 出处:网络
I have a Facebook application that I\'ve now put live, but I need to make an amendment, but I can\'t find a开发者_Go百科nything to suggest that it\'s possible or not.I am basically looking at formatti

I have a Facebook application that I've now put live, but I need to make an amendment, but I can't find a开发者_Go百科nything to suggest that it's possible or not. I am basically looking at formatting the description to include line breaks e.g.

description: (
    'Hey look at my StackOverflow question\r\n' + 
    'Great isn\'t it?'
)

Is this possible?


This is a bit late, but,

If you could use php, this use : nl2br() function Example:

nl2br($FBeventDescription)

You can also have a look at this link: PHPjs.org


<br /> ?

no idea, that might work... if not, character encode the linebreaks.

0

精彩评论

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