Closed samcorcos closed 7 years ago
I'm having a hard time testing this in dev to make sure it works properly. Any advice on that front would be helpful :)
You need to update the test for that, it should be this one: https://github.com/claudiajs/claudia-bot-builder/blob/master/spec/facebook/facebook-format-message-spec.js#L354-L356
Run npm test -- full
and you'll see all the test that are failing.
Fot testing in the project, simply install your version of claudia bot builder with npm i https://github.com/samcorcos/claudia-bot-builder
and you'll have bot that is using it.
Limit was probably updated by Facebook in last few updates, thanks for reporting and fixing it :)
Can you also update the same thing for the buttons in Generic template?
Thanks :)
What do you mean by the buttons in the generic template? I think the generic template still limits you to 80 chars and 80 chars.
title has a 80 character limit subtitle has a 80 character limit
Just tested it locally and it runs as expected :)
@samcorcos button object in generic template, bottom of that page, for title and subtitle it's still 80 characters I'll update that, thanks for this!
This changes the character limit on the Facebook Button template to the value defined in the Facebook docs
resolves #60