Facebook messenger button: Can not show long message on buttons of HeroCard
From facebook messenger doc : Our button text is 320 characters. But when i send to facebook messenger text button in Hero card, it is rename as " .... " with long message. But it still shows full button text on Channel Emulator . How to fix it ??
The emulator is just an approximation of the channel, it is not exact.
Hi,
regarding "From facebook messenger doc : Our button text is 320 characters." -- It's 20 characters if a button as per FB docs.
To make sure all of the button text is shown, use three words short if possible. Keep the starting word short and no apostropher as it induces '...' in the button text. [purely FB handling and nothing in MSFT Bot Frameowrk' side].
On Fri, Oct 14, 2016 at 10:31 PM, Dan Marshall [email protected] wrote:
The emulator is just an approximation of the channel, it is not exact.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/1431#issuecomment-253860031, or mute the thread https://github.com/notifications/unsubscribe-auth/ATQanNyL5R23vy1i6hj5S6k_6kmGLJiFks5qz7VfgaJpZM4KWxkp .
Thanks, can you add links to where you are seeing these in the documentation? (both FB and BF)
Danmarshall, you can check here:
https://developers.facebook.com/docs/messenger-platform/send-api-reference/generic-template
Thanks. so it depends on our channel (facebook).
Yes it depends on your channel. We are working on documenting all the channel information in one place and should be releasing it soon.