RaspberrySense / messenger-chatbot

Facebook Messenger chatbot for Raspberry Sense

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Facebook Messenger chatbot for Raspberry Sense

License:MIT License


Languages

Language:Python 100.0%