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