http://localhost:8000/webhook
Open a NEW command prompt (keep your server running) and run:
ngrok http 8000
You'll see output like:
Forwarding https://xxxx-xx-xx-xx-xx.ngrok.io -> http://localhost:8000
Copy the HTTPS URL (the one that starts with https://xxxx.ngrok.io)
Callback URL:
https://YOUR-NGROK-URL.ngrok.io/webhook
Example: https://a1b2-123-45-67-89.ngrok.io/webhook
Verify Token:
my_secret_token_123
(This is from your .env file: WEBHOOK_VERIFY_TOKEN)
Click "Verify and Save"
After verification, subscribe to these fields:
Click "Subscribe" or "Done"
๐จ WEBHOOK RECEIVED ๐ From: 923xxxxxxxxx ๐ค Name: Your Name ๐ฌ Message: Hello โ Message saved to database