I am creating facebook bot using Bot Builder Node.js sdk and I am trying to create suggested action, which would navigate users to web page. I know, that facebook has limitation, that it redirects only to https endpoints, but as the the page I am redirecting to 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);
Problem is, that when I click the openUrl action on messenger, nothing happens. It works properly on emulator. Please, can somebody help me, how to solve this issue? Thank you.