Know another language? Translate this tutorial!


688 visitors
2,245 page views
138 translation visitors
372 translation page views

Share Buttons using WhatsApp and Vibe

Favourite 6 favourites
Tutorial written by gamecorpstudioOriginally published on 24th, September 2015 - 6 revisions

hey guys i was searching for a default way and easy way to share for whatsapp and found this tutorial bellow by @stctr
share on twitter custom

will follow the tutorial till the part where we need to add the url so at the browser calling

for whatsapp will add in the url this code : "whatsapp://send?text=Hey"&text

for vibe will add this code : "viber://forward?text=Hey"&text

keep in mind the text at end is a global variable that i used inside the capx that you can customize as you want

you can also remove the Hey after the text= for both versions and customize on start of layout using text_set_value: "Hey Check This Game" or by adding the text already in it in the default variable form up in your layout

you need to use browser object, and use the action got to url then add inside the bellow formats: in the capx i used target top, but then u can set it to anything u like. have fun with it.


so here it is the capx(requires r214)and apk compiled with ludei via coconjs plugin(2.1)

remember in order for the share to work, you need to have in ur mobile phone or tablet the apps installed vibe and whatsapp, the code inside works for IOS also , basically will work, for any browser or compiled game, as long is accessed by mobile phone, and has the apps(whatsapp,viber) installed on it.Download Capx And APK

    14 share social buttons

Unlock your full gamedev potential

Upgrade to the Personal Edition of Construct 2, it has way more features and won't holding back from making money and using your full creativity like the free edition does. It's a one off payment and all Construct 2 editor updates are free for life!

View deals

Plus, it's got a lot of additional features that will help you save time and make more impressive games!

Congratulations on finishing this tutorial!

Did you learn a lot from it? Share it now with your friends!

Share and Copy this Tutorial

You are free to copy, distribute, transmit and adapt this work with correct attribution. Click for more info.


ruanweber 529 rep

This helps me a lot, thank you :)
but there is a way to send sounds?

Friday, April 14, 2017 at 7:35:53 AM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.