Azure Web App Bot Webhook Text With Facebook Always Drop On V4 - facebook

I got a sample echo bot hosted on Azure Web App Bot, and link up with facebook messenger.
Every configuration setup correctly, when I type message in FB Messenger, some of my text were actually not receiving in /api/messages endpoint.
I used ngrok on Azure bot web app to replace it api endpoint with my local url and found out that some messages did actually fail to delivered to the endpoint.
I had setup my web app to be always on mode, and server location put in Central US. But it still has this performance issue.
Because our bot starting migrate to V4, and found out that the suggested action card always not responding after user click in Messenger (sometime it's works), it's normally reply with local bot emulator.
Any ways can improve this or minimize user lost their action in conversation due to the dropping message?

OK finally found out that delay/random reply caused was single FB page subscribed to multiple FB app.
Just try to make sure you only have a single page subscribe to a single FB app , else it will randomly send the webhook message to one of your subscribed app and cause the performance issue.

Related

FB Page Native Webhook (not 3rd party) not receiving message from a certain user

Does anyone also experienced this type of problem? Webhook works perfectly fine with the rest but just with 1 certain user I'm not receiving anything from the webhook. It's not even called from facebook
The user already tried to uninstall and install back the messenger application but still the same result. Maybe there's something in their settings that need to be turned on or what
I somehow confirmed that facebook API has some traffic issues and sometimes have a delay in showing messages that are sent through their APIs. So patience is a virtue :D

FB Messenger send multiple messages to Webhook

I have developed a Rasa Bot and linked that bot with Facebook Messenger. My bot works perfectly fine. In recent days I am facing an issue in which I receive multiple webhooks against a single message and RASA shows multiple responses against a single message. This happens randomly not on every chat. But happens mostly when a new user tries to send a message through FB. My deployment is getting delayed due to this issue and I am unable to find and issue. Any help will be appreciated. Thanks.

Unable to test facebook feed webhook. Webhook not receiving events

Following the recent changes for facebook developer, i had this alert on the webhook section on the developer dashboard, and therefore no webhook messages are received from 'testers, devs, etc' ;
Application will only be able to receive test webhooks sent from ...
Facebook not allowing webhooks anymore in development mode
As a result i am unable to test my mesenger bot apps. I am administrator of my Pages as well as I am administrator of my facebook application.
Whenever I add any comment or likes on my pages, I don't get any webhook event fired.
My pages have subscribed to my app.
The problem now is - My application is in development mode. I can't test it. And facebook won't approve it because they also are not able to test it as I have to mention steps.
Any help will be much appreciated.

Microsoft Azure Web Chat Bot connection to Facebook Channel is not updating

I have connected an Azure Web Bot to a facebook channel. The connection was working, and the bot responded as expected. But when I update my Bot Facebook still uses the old Version. I've tested in "Test in Web Chat" and that is using the new Version. Only Facebook still uses the old one. I'm sure I'm only missing some sort of a republish, but I've no idee where to search for that.
Okay, I found this solution:
The Bot stays in a state where the Communication was started. So to get it with the new Bot you have to post a message
" /deleteprofile" to your bot (be aware of the leading space)
Then the channel communicates to the new bot version.

Facebook Developer- Messenger- add multiple webhooks for a single facebook page

I am trying to build a chatbot using Facebook developer platform. I want my bot to respond differently under different scenarios. So, basically I have my standard bot implementation on Heroku server. I want to bring in api.ai into my bot so as to leverage the kind of functionalities api.ai offers.
To bring in api.ai, I need to configure webhook in my Facebook app. As my Facebook app is already subscribed to Heroku, I don't see an option to add another webhook. Is there a way to subscribe my app on Facebook to multiple webhooks?
If not, is there any way to integrate api.ai using api calls from my heroku server?
Thanks in advance!
It's likely you'd probably just forward them along to the next endpoint. Have your server be the frontend, and forward requests from your server to the next webhook if needed.