Implementing Share Logic
In this guide, we'll walk you through how you can add a share option inside your experience so that the users can easily share that experience with their friends and followers on different platforms.
Share on Whatsapp
To share the experience on WhatsApp, add the following action to the click event: "Open URL https://api.whatsapp.com/send?text=". After the equals sign, paste the link to your published project. This will create a direct link to your project that the users can easily share with their friends on WhatsApp.
Publish Your Project
Before sharing your KappaX project, you'll need to make sure it's published. If you're unsure of how to do this, don't worry! Follow this link.
Add a Share Button
Once your project is published, the next step is to add a share button. This will allow others to easily share the experience with their own network. After adding the Share icon to the Artboard, select it and switch to the logic panel. From there, you can add a click event that will open a new URL when the share button is clicked.
Share on Twitter
Sharing your project on Twitter is just as easy. Under the click event, add action : “Open URL” and paste this link: "https://twitter.com/intent/tweet?url=". After that, paste the link to your published project. This will create a tweet with a link to your project that you can share with all your followers.