botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Facebook messenger button: Can not show long message on buttons of HeroCard

Open astrung opened this issue 10 years ago • 6 comments

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 ??

astrung avatar Oct 14 '16 08:10 astrung

The emulator is just an approximation of the channel, it is not exact.

danmarshall avatar Oct 14 '16 17:10 danmarshall

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 .

afficionaddo avatar Oct 14 '16 17:10 afficionaddo

Thanks, can you add links to where you are seeing these in the documentation? (both FB and BF)

danmarshall avatar Oct 14 '16 17:10 danmarshall

Danmarshall, you can check here:

https://developers.facebook.com/docs/messenger-platform/send-api-reference/generic-template

Badolfo avatar Oct 15 '16 08:10 Badolfo

Thanks. so it depends on our channel (facebook).

astrung avatar Oct 15 '16 15:10 astrung

Yes it depends on your channel. We are working on documenting all the channel information in one place and should be releasing it soon.

chrimc62 avatar Nov 27 '16 00:11 chrimc62