Facebook messenger seems to be splitting and truncating messages.
Telegram:

Facebook:

This github repo is a npm module that references a character limit to Facebook Messenger Send API.
320 characters limit
At the time of writing, the Send API only allows up to 320 characters. We strongly recommend using a plugin like hubot-longtext to gracefully handle long messages.
I checked out on the FB Developer site and unfortunately it doesn't reference a character limit...after doing a basic type out of that first message that was truncated it seems like it is hovering right around that limit of 320.
Unsure why it is splitting messages without seeing your requests, but I would recommend looking into Facebook's Character limit.
That’s right, I observed a 320 char limit, so we split into multiple posts to display longer text.
From: Kevin Guebert [mailto:[email protected]]
Sent: Tuesday, May 3, 2016 12:03 PM
To: Microsoft/BotBuilder [email protected]
Subject: Re: [Microsoft/BotBuilder] Facebook Messenger splits and truncates messages (#212)
This github repohttps://github.com/ClaudeBot/hubot-messenger-bot#320-characters-limit is a npm module that references a character limit to Facebook Messenger Send API.
320 characters limit
At the time of writing, the Send API only allows up to 320 characters. We strongly recommend using a plugin like hubot-longtext to gracefully handle long messages.
I checked out on the FB Developer site and it doesn't reference a character limit but I have run into one. After doing a basic type out of that first message it seems like it is hovering right around that limit of 320.
Unsure why it is splitting messages without seeing your requests, but I would recommend looking into Facebook's Character limit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/212#issuecomment-216631996
The splitting is understandable considering the circumstances, but the truncation of the messages seems wrong.
Also, perhaps you might consider splitting along paragraph breaks, headers ets rather then a straight 320 char split.
This should be fixed now.
Is there a change that I have to deploy? I'm still getting the problem where the message is truncated.
From my experimentation in won’t truncate if the message is split at 300 character boundary.
We still have to split into multiple messages though
From: matthew5025 [mailto:[email protected]]
Sent: Tuesday, May 10, 2016 4:58 AM
To: Microsoft/BotBuilder [email protected]
Cc: Tom Laird-McConnell Tom.[email protected]; State change [email protected]
Subject: Re: [Microsoft/BotBuilder] Facebook Messenger splits and truncates messages (#212)
Is there a change that I have to deploy? I'm still getting the problem where the message is truncated.
—
You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/212#issuecomment-218136336
Hello everybody, I am getting the same problem. To solve this I am dividing the message into the chunks of less than 320 charcters. But here I am getting another problem, the chunks that I am sending are getting shuffled. I tried to solve this issue by introducing delay function but still unable to solve. Please help if there is a solution for this. My main issue is sending the long messages with facebook messenger.
Most helpful comment
Hello everybody, I am getting the same problem. To solve this I am dividing the message into the chunks of less than 320 charcters. But here I am getting another problem, the chunks that I am sending are getting shuffled. I tried to solve this issue by introducing delay function but still unable to solve. Please help if there is a solution for this. My main issue is sending the long messages with facebook messenger.