Share Quiz Result in Facebook

Hello

I am creating a simple messenger based quiz application where the user has to answer the question through button option. After completing all the questions, it is supposed that the user will get a link of how many questions he has correctly answered and a share option there to share the result on Facebook. The number of correct answers by a user is stored in a slot and I also have a link of what to show the user. But I cannot get any options of how to share these types of link in Messenger to share on Facebook. Can anyone help me?

Hi Tansif, welcome to the forum! :slight_smile:

You can share the content of a slot by writing an utterance something like this: “You answered {slot-name} question right!” where “slot-name” is whatever you’ve called your slot. (Here’s the relevant Rasa 2.0 documentation.)

@rctatman Actually I want to use a button. When an user click on the button, a facebook share link will be opened. How can I do that?

That I’m not sure about, sorry… Maybe a custom action that triggers an utterance w/ the link when the button is clicked?