Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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