Facebook Messenger API:how to break line in a message

voxter picture voxter · Jun 29, 2016 · Viewed 18.6k times · Source

In Facebook Messenger chat,we can break a line by press "SHIFT+ENTER".
So how to break line by Facebook Graph API(Messenger API).
I've seen in a few answers that the Graph API accepts <center></center> instead of <br> and some other parts of their API seem to accept \r\n.

Is there currently any way of sending a line break and if there is where it it documented?

Answer

tyrex picture tyrex · Aug 5, 2016

Turns out Line break in Facebook status update via Graph API might give you what you are looking for:

Use \u000A

For me it solved my similar issue I had with Facebook SendApi for a Facebook Messenger Bot.