Skip to content
Facebook Messenger chatbot for Raspberry Sense
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sensors
.gitignore
LICENSE
Procfile
README.md
app.py
monitor.py
replies.py
replies_data.py
requirements.txt

README.md

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
You can’t perform that action at this time.