Limited number of buttons in chat messenger

Hi Team.,

I am not able to add buttons more than 3. I was adding some FAQ questions using buttons but it is limited to 3 only. Is it from Facebook side or it’s because of RASA. How i can increase number of buttons or any alternative for FAQ questions? . Help will be highly appreciated.

Thanks :slight_smile:

It’s facebooks side i’m afraid

@akelad thanks for resposne. I am very new to python. Could you please help how to run chatbot on production. On local it’s running fine . For production i want to use django framework. How to call script on django view

from rasa_core.channels.facebook import FacebookInput from rasa_core.agent import Agent from rasa_core.interpreter import RegexInterpreter

# load your trained agent
agent = Agent.load(MODEL_PATH, interpreter=RegexInterpreter())

input_channel = FacebookInput(
        # you need tell facebook this token, to confirm your URL
        fb_secret="YOUR_FB_SECRET",  # your app secret
        # token for the page you subscribed to

# set serve_forever=False if you want to keep the server running
s = agent.handle_channels([input_channel], 5004, serve_forever=False)

How i can change default button type for facebook. Currntly i am using default button but it is limited upto 3 only templates: utter_FAQ_rewards:

  • text: “Please select below to get the information regarding rewards” buttons:
    • title: “How to check points” payload: “/FAQ_rewards_check_points”

Help will be highly appreciated.

Thanks :slight_smile:

That’s a restriction set by facebook i’m afraid

Hi Akelad,

Thanks for response. Could you please suggest if any alternative are there, because i for mine FAQs i need more than three continuous button

Thanks in advance

Use a different messaging service :slight_smile: e.g. Telegram, I think they give you a lot more room to play around

Thank you akelad. I’ll try some other way