Social sahring without using sdkbox?

Greetings for everyone, how can I use social sharing in cocos creator without using sdkbox?

@pacear10 I am also searching for this, but I didn’t get any solution for login with google or Facebook without using sdkbox.

depends on what exactly you need, for whatsapp sharing I’m currently using
openUrl("whatsapp://send?text=MyTest")
(for cocos2d-x but i think cocoscreator will have similar functionality)

similar stuff for telegram:
openUrl("tg://msg?text=MyText")

Probably if you check facebook and others you might find similar examples(for those i’m just redirecting to my game facebook page e.g. openUrl(fb://profile/…) ) and email can be used with “mailto:”.

Think this url stuff can be found on google as “url scheme” for nearly every big social media plattform.
This works for me, to share basic stuff.

1 Like