microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.5k stars 2.44k forks source link

FormFlow and HeroCard not work properly #1014

Closed rcarmonad closed 8 years ago

rcarmonad commented 8 years ago

Hi, i'm building a chatbot app using the c# api. I have a form flow app that shows the result using a carousel of herocards, just like this example. When i try using the Channel Emulator, it works fine

chat bot emulator example

But, this isn't showing anything, nor facebook, telegram or embeded app facebook Iframe

Can you tell me if anything is wrong with the integration? or the example isn't right?

rcarmonad commented 8 years ago

So, now it's working. The only thing i changed was that i put "Value" to the CardAction:

var actions = new List<CardAction>();

actions.Add(new CardAction
{
    Title = "¡Lo quiero!",
    Value = "http://www.google.cl",
    Type = ActionTypes.ImBack
});

That's all folks! Greets

willportnoy commented 8 years ago

Thank you for the follow-up comment explaining how to fix the issue!