开发者

FB.ui stream.publish - Formatting the description parameter

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜