Search code examples
pythonfacebook-graph-apifacebook-messengerfacebook-messenger-bot

Line Break in Facebook Messenger using Python


I am using python and I am trying to make a line break in Facebook messenger. From previous answers to this questions I saw that

text = “text string <center></center> new line”

should work. It is not working for me. Any ideas how I can solve that?


Solution

  • \n works on mobile and web. \r also works, but appears to be a bug where it doesn't work on web.