Share on Twitter and Facebook Like

Hey guys,

I’ve been hunting around to try and see if there is a way to create a hyperlink to perform these functions via Application.OpenURL.

I’m struggling to hunt down the exact form the URL’s should take however, could anyone help us out with a quick pointer?

-Cheers :slight_smile:

Can’t you use Application.ExternalCall to call a javascript function on the browser to achieve this. You can check this page for writing Javascript function for sharing - Indostar

You can call the function from Unity via Application.ExternalCall .

sites dead

Here’s the link :slight_smile:

http://webcache.googleusercontent.com/search?q=cache:j3CBOv1RHbAJ:maheshkanna.wordpress.com/2011/05/11/facebook-and-twitter-share-button-using-javascript/+&cd=1&hl=fr&ct=clnk&gl=fr

Have fun !