Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 453 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 453 Bytes

Facebook Messenger Platform Sample (Python)

https://github.com/fbsamples/messenger-platform-samples python porting version

Setting

virtualenv env
source env/bin/activate
pip install -r requirements.txt

Edit config.py

CONFIG = {
    'FACEBOOK_TOKEN': 'YOUR_FACEBOOK_TOKEN',
    'VERIFY_TOKEN': 'YOUR_VERIFY_TOKEN',
    'SERVER_URL': 'https://YOUR_HOSTNAME'
}

Run

python server.py

# default web server port 8080