1
var resultMessage = context.MakeMessage();resultMessage.SuggestedActions = new 
SuggestedActions(){Actions = new List<CardAction>(){new 
CardAction(ActionTypes.OpenUrl, "Book now", value: "http url"),}}; await 
context.PostAsync(resultMessage);

When I am clicking on this 'Book Now' button its not redirecting to url in FB messenger

D4RKCIDE
  • 3,439
  • 1
  • 18
  • 34
Samadhan
  • 389
  • 1
  • 5
  • 18

2 Answers2

1

I'm guessing it is an issue as the issue is reported on github and also in stackoverflow. Maybe you can use a herocard instead of suggested action.

Anita George
  • 1,145
  • 6
  • 18
0

I looked at Facebook quick replies and it seems it is not possible to open a URL from those as well, so this leads me to believe that it will not be possible to open a URL with suggested actions on the Facebook platform either. In addition to rich cards mentioned above, you can also send links in the text generally in markdown for most channels. I will double check with the team and confirm that this is not possible on Facebook and update this answer if I find out differently.

We are now tracking this internally and will look into making it possible, no timeline to report at this time.

D4RKCIDE
  • 3,439
  • 1
  • 18
  • 34