Spaces:
Sleeping
Sleeping
imseldrith
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ VERIFY_TOKEN = 'imseldrith' # Replace with your verification token
|
|
9 |
def home():
|
10 |
return "Welcome to the chatbot!"
|
11 |
|
12 |
-
@app.route('/
|
13 |
def webhook():
|
14 |
if request.method == 'GET':
|
15 |
# Webhook verification
|
|
|
9 |
def home():
|
10 |
return "Welcome to the chatbot!"
|
11 |
|
12 |
+
@app.route('/facebook', methods=['GET', 'POST'])
|
13 |
def webhook():
|
14 |
if request.method == 'GET':
|
15 |
# Webhook verification
|