Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support clickable url #15

Open
janteuni opened this issue Oct 14, 2018 · 4 comments
Open

Support clickable url #15

janteuni opened this issue Oct 14, 2018 · 4 comments
Labels
Hacktoberfest Hacktoberfest 2018

Comments

@janteuni
Copy link
Contributor

When url are displayed in a text message or other messages type (the button message type also support a little text before buttons), we should have a clickable url.

Example:
message: "Please visit our website for more information here: https://john.doe/faq"

As a user, I should be able to click on the url and open it in a new page.

@janteuni janteuni added the Hacktoberfest Hacktoberfest 2018 label Oct 14, 2018
@CometS1
Copy link

CometS1 commented Oct 14, 2018

I would like to work on this. How do you build and host it for testing?

@janteuni
Copy link
Contributor Author

Hello :)

@OlivierNguyen Can you help ?

@OlivierNguyen
Copy link
Contributor

You will need to run npm run build in the repository and create manually an index.htmlwhere you add this script tag:

<script
    src="../dist/webchat.js"
    channelId="YOUR_CHANNEL_ID"
    token="YOUR_TOKEN"
    id="recast-webchat"
></script>

YOUR_CHANNEL_ID and YOUR_TOKEN can be found in the platform in your bot page -> Connect > Webchat

@CometS1
Copy link

CometS1 commented Oct 25, 2018

Where in the code does the app create the messages?

JWandrocke added a commit that referenced this issue Nov 7, 2019
Added X-Token to the header for support with the new version of the b…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Hacktoberfest 2018
Projects
None yet
Development

No branches or pull requests

3 participants