Closed titusjaka closed 4 years ago
I tried to dig this issue but I've found nothing. As I see here https://github.com/botpress/botpress/blob/b31b6a57608ad1a14621afdd7684026789669f87/modules/channel-messenger/src/backend/messenger.ts#L309
Botpress must wait for the response from Facebook before returning to the flow. I also checked Facebook API directly and it replies only after the image is sent to the recipient.
Ok, I should close this issue as a duplicate :)
Describe the bug When I send an image through Facebook Messenger, the Botpress doesn't wait till it's sent to the user.
To Reproduce Steps to reproduce the behavior:
Create the simplest bot with image payload:
Integrate it with FB
Send a message to trigger bot interaction
See messages are sent in the wrong order
Expected behavior I expect messages to be sent in the order I have set in the flow editor. It works as expected in web-channel.
Screenshots I recorded screencasts. One for FB messenger and the one for Web-messenger.
FB:
Web:
Environment (please complete the following information):
Additional context See the exported bot in attachments bot_testfbimages_1575905627516.zip