Diplay Rasa Chatbot Buttons in Flask - flask

I have been stacked!
I have created a rasa chatbot with 2 buttons and I can't display them in flask as clickable buttons but only their titles in text format.
Please help me!

Related

How to set welcome message for messanger chat bot build using AWS Lex

I built a chat bot for my project using AWS Lex and then I integrated it with Facebook Messenger. After integrating with Facebook Messenger my chatbot interface looked like this.
In the image you can see when some open the messenger he will get suggestions like "Where are you located?" or "What are your hours?" etc. by default.
Expected output: I want instead of these default suggestions messenger should display customized message like "Hello welcome".
You can create a customized greeting from your Page that will appear in Facebook messages and in the Messenger app for iPhone, iPad and Android when someone begins a conversation with your Page for the first time. Your Page's greeting will appear before any messages are sent.
To create a Messenger greeting:
Click Settings at the top of your Page.
Click Messaging in the left column.
Next to Show a Messenger greeting, click to select On.
Click Change, edit the greeting, then click Save.

Zurb Foundation Accordion Closing by Itself on Mobile

On phones, my "Section Menu" closes by itself after the user opens and starts scrolling. I'm using a Zurb Foundation Accordion for the menu. Does anyone know why this is happening on mobile?
UPDATE: I'm also trying a simple Zurb Foundation Toggler. I'm toggling the ".hide" class. The menus still vanish when the user tries to scroll.
My site:
https://deq.utah.gov/communication/public-notices
picture of the menu
I was using the following script to listen for widow size changes. This helped me show/hide my menu when troubleshooting on a desktop browser. For some reason, mobile was reporting a screen width change on scroll. When I removed this script, my accordion stopped closing by itself.
$(window).width() not the same as media query

Facebook tab page load app doesn't pass parameter

I have an app in a facebook page tab that show some informations and this information must change for every user (ID_USER). I don't know how to load the correct data in the facebook app tab page. My app is a Django app. I've done this step:
1) create an app in my developers account (a page tab application) with this url https://www.exemple.com/ID_USER.
2) load the url https://www.facebook.com/dialog/pagetab?app_id=MY_APP_ID&redirect_uri=www.exemple.com/ID_USER
3) Select in the window the page to install the app
4) I go to the page and I found the app.
The problem is that the app is only for a user and I would like to load the right data for every facebook page the app is installed.
I've read about signed_request and app_data but I don't understand how to set app_data. Canyou help me please?
* EDIT *
The problem seems to be the django internationalization redirect from
https://www.example.com/ID_USER
to
https://www.example.com/en/ID_USER
in my network console I see
302 https://www.example.com/ID_USER (with 'signed_request')
200 https://www.example.com/en/ID_USER (without 'signed_request')
How can I solve this issue?

Facebook login popup in unity, How to setup

I want to get Facebook login popup in my unity wenplayer game idont know where set this scripts .
i uploaded my games on dropbox in my pc and add this code to my html page.
i use this code on html file of dropbox.
https://github.com/nabeelsaleem/fb-login-html/blob/master/Code%20to%20login
i am not getting login popup appear, but i use same code in my blog and it works here: hashtaginside.blogspot.com

Appcelerator. Button on row is not registered when clicked

Titanium SDK version: 1.7.0.RC1
iPhone SDK version: 4.2
I am developing a very simple iOS app in Appcelerator that fetches tweets from Twitter and displays them in a table. Each row/tweet got a button that, if clicked, will add the selected tweet to the database. I also want the user to be able to click the tweet itself too.
What is wrong with this code? It is not responding to clicks on the button. I also need the row to disappear when the button is clicked.
http://pastie.org/2038105
I got this problem solved using the solution found here.
http://developer.appcelerator.com/question/120723/button-on-row-is-not-registered-in-event-listener#209636