Facebook Messenger chatbot for Raspberry Sense.
- Create a Python 3 virtual environment, say
venv. - Activate
venvand install requirements:pip install -r requirements.txt
- Create
secrets.pyand add the following variables with their proper values:FACEBOOK_VERIFY_TOKENPAGE_ACCESS_TOKEN
- Set the
FLASK_APPenvironment variable toapp.py:export FLASK_APP=app.py - Run the app:
flask run