Native Sharing

The differences between native sharing and OAuth social API are described in following articles:

 

Start sharing dialog with an ability for the user to select an application for sharing:

SPShareUtility.ShareMedia("Share Caption", "Share Message");

//or with Texture
Texture2D imageToShare = //getting texture code
SPShareUtility.ShareMedia("Share Caption", "Share Message", imageToShare);

 

Sending e-mail:

Texture2D imageToShare = //getting texture code
SPShareUtility.SendMail( "Subject", "text", "mail1@gmail.com, mail2@gmail.com", imageToShare)

 

Native Post to Twitter:

SPShareUtility.TwitterShare("This is my text to share");

//or with Texture
Texture2D imageToShare = //getting texture code
SPShareUtility.TwitterShare("This is my text to share", imageToShare);

 

Native Post to Facebook

SPShareUtility.FacebookShare("This is my text to share");

//or with Texture
Texture2D imageToShare = //getting texture code
SPShareUtility.FacebookShare("This is my text to share", imageToShare);