开发者

using facebook's formatting

开发者 https://www.devze.com 2023-04-13 09:12 出处:网络
My question is is it possible to use facebook\'s formatting when it comes to using the graph API? afs dsaf

My question is is it possible to use facebook's formatting when it comes to using the graph API?

afs

dsaf

开发者_运维知识库sda

fdf

sf

ds

adf

s

fadf

sdf

a

is how it appears on facebook but when I use the graph api to load it it shows:

afs dsaf sda fdf sf ds adf s fadf sdf a


There are line feed characters in the response. For example, I just tested it with my account and I got back this result:

"message": "test\n123\n456\n789"

All you would need to do is replace \n with <br /> if you are rendering it on a web page.

0

精彩评论

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

关注公众号