Home > Net >  Facebook Messanger App callback doesn't call my app
Facebook Messanger App callback doesn't call my app

Time:10-29

I created chatbot for Facebook. I tested in on one fanpage, got business and api permissions verfications from Facebook and I wanted to add the bot to more fanpages. I did it as before, I setted all Webhooks like messages, message_echoes but Facebook doesn't call my app. I'm checking it in debuging tool that shows network traffic to my server.

I tried to remove and add callback, fanpages, but nothing gets change.

The first fanpage still works all fine, but others don't call my bot on any message. Why?

CodePudding user response:

assume you link your app to first fanpage with oauth dialog like this before.

oauth dialog : (See: edit setting button

choose another fanpage: choose another fanpage

now you receive webhooks from other fanpages.

CodePudding user response:

So, problem was in my code. I was checking if request was sent using Symfony profiler. The problem was, it didn't save request if the process was stopped. And it was. I had "die" in some trycatch...

  • Related