Social Interactions
Share
Bridge.social.isShareSupportedprivate void Start()
{
var options = new Dictionary<string, object>();
switch (Bridge.platform.id)
{
case "vk":
options.Add("link", "YOUR_LINK");
break;
case "facebook":
options.Add("image", "A base64 encoded image to be shared");
options.Add("text", "A text message to be shared");
break;
case "msn":
options.Add("title", "A title to display");
options.Add("image", "A base64 encoded image or image URL to be shared");
options.Add("text", "A text message to be shared");
break;
}
Bridge.social.Share(options, OnShareCompleted);
}
private void OnShareCompleted(bool success)
{
if (success)
{
// Operation succeeded
}
else
{
// An error occurred
}
}Join Community
Invite Friends
Create Post
Add to Favorites
Add to Home Screen
Rate Game
External Links
Last updated