I am creating a facebook botton using Bot Builder Node.js sdk and I am trying to create a suggested action that will navigate users to a web page. I know that facebook has a limitation that it only redirects to https endpoints, but since the page being redirected is https, this is clearly not a problem. Here is my code:
var msg = new builder.Message(session) .text("User message here") .suggestedActions( builder.SuggestedActions.create( session, [ builder.CardAction.imBack(session, "command1", "Command1"), builder.CardAction.imBack(session, "command2", "Command2"), builder.CardAction.openUrl(session, "https url", "Go to web") ] )); session.send(msg);
The problem is that when I click the openUrl action on the messenger, nothing happens. It works correctly on the emulator. Please help me how to solve this problem? Thanks.
source share