Closed ram1505 closed 7 years ago
@ram1505 At the moment is not possible, but I'm working on it
@ram1505 I have a beta for this, would you like to try?
npm install node-red-contrib-chatbot@0.6.21-beta-1
Thanks!
Sure. Let me try it out and will feedback to you. Thanks.
I tried this version. I am unable to get it show up on the Messenger. Not sure how to connect this in Node-RED. Should I connect this directly between the Facebook Receiver & Sender or should I connect it to a Text?
I'm getting some errors like this when I try the menu with messenger:
node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 6): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 7): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 9): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 10): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 11): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 12): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 13): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): Error parsing error payload from Facebook. (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 15): Unable to prepare unknown message type (node:1801) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 16): Error parsing error payload from Facebook.
@ram1505 should be connected to a Facebook Sender node
@ram1505 ok I've fixed some bugs
npm install node-red-contrib-chatbot@0.6.21-beta-2
Awesome! Works like a charm!
One issue is that, the persistent menu seems super persistant that I can no longer remove it from my bot even after deleting the chatbot menu node. How can I remove the menu items from my facebook messenger now?
@ram1505 yes menu in stored on Facebook server, have you tried with a menu node with no elements inside?
I actually used the Facebook's CURL method with empty call to action and it removed the menu.
Hi, How can I get the facebook persistent menu working with chatbot?