# How can we show dynamic list more than 4 items in utter\_button\_template in action.py

**URL:** <https://forum.rasa.com/t/how-can-we-show-dynamic-list-more-than-4-items-in-utter-button-template-in-action-py/14706>\
**Category:** Rasa Open Source\
**Created:** [August 23, 2019, 6:51am UTC](https://forum.rasa.com/t/how-can-we-show-dynamic-list-more-than-4-items-in-utter-button-template-in-action-py/14706 "2019-08-23T06:51:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RajCollection](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@RajCollection](https://forum.rasa.com/u/RajCollection)\
**Post date:** [August 23, 2019, 6:51am UTC](https://forum.rasa.com/t/how-can-we-show-dynamic-list-more-than-4-items-in-utter-button-template-in-action-py/14706/1 "2019-08-23T06:51:29Z")

</div>

Hi

I have a requirement to show a list of items in Facebook Messanger. the dynamic list will get from webhook, which is in actions.py file. How can I send that list… which dispatcher I should use. I am using dispatcher.utter\_button\_message, but it takes only three items, but I have more than three items. Please help me

---

<div class="post-metadata">

**Author:** ![Gehova](https://avatars.discourse-cdn.com/v4/letter/g/2acd7d/32.png) [@Gehova](https://forum.rasa.com/u/Gehova)\
**Post date:** [August 23, 2019, 2:00pm UTC](https://forum.rasa.com/t/how-can-we-show-dynamic-list-more-than-4-items-in-utter-button-template-in-action-py/14706/2 "2019-08-23T14:00:59Z")

</div>

I cannot help you with Facebook, because they block the account where I tried to add the chatbot. I did a test in rasa shell with the following:

```
buttons = []
for b in b_list:
    pl = "/inform{\"item\": \"" + b + "\"}"
    buttons.append( {"title": b, "payload": pl} )
dispatcher.utter_button_message("Select one item from the list.", buttons)

```

and was able to get a list with 6 buttons.

---

<div class="post-metadata">

**Author:** ![erohmensing](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/erohmensing/32/1789_2.png) [@erohmensing](https://forum.rasa.com/u/erohmensing)\
**Post date:** [August 23, 2019, 2:50pm UTC](https://forum.rasa.com/t/how-can-we-show-dynamic-list-more-than-4-items-in-utter-button-template-in-action-py/14706/3 "2019-08-23T14:50:06Z")

</div>

Hi @RajCollection, you should be getting this warning message: [rasa/facebook.py at master · RasaHQ/rasa · GitHub](https://github.com/RasaHQ/rasa/blob/master/rasa/core/channels/facebook.py#L163)

Facebook does not allow more than 3 buttons.
