How to Create Facebook Messenger BOT With PHP, Ngrok, webhook setup

Опубликовано: 16 Май 2026
на канале: Xerone IT
10,147
134

In this video, I have implemented a simple Facebook Messenger BOT with PHP , Ngrok, Xampp ,localhost .

Ngrok is used to process webhook call from Facebook as i have used localhost for development. As localhost isn't accessible from outside, so Ngrok is the only option to test in localhost. You can use your hosting server though.

Messenger Send API Documentation :   / send-api  

We are working on Facebook APP development since 5 years. I have just tried to share some of my experience here how to start from beginning to build Facebook Messenger BOT with PHP using Messenger Webhook. Though there is accent in English, but it's a coding tutorial , hope you can understand the procedure. If you have any question or i can help you anyway, don't hesitate to ask question.

Thanks