Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 523 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 523 Bytes

Facebook Messenger chatbot

Facebook Messenger chatbot for Raspberry Sense.

Setup

  1. Create a Python 3 virtual environment, say venv.
  2. Activate venv and install requirements:
    pip install -r requirements.txt
  3. Create secrets.py and add the following variables with their proper values:
    • FACEBOOK_VERIFY_TOKEN
    • PAGE_ACCESS_TOKEN
  4. Set the FLASK_APP environment variable to app.py:
    export FLASK_APP=app.py
  5. Run the app:
    flask run