Facebook

Before you begin

Code Snippets

The code  snippet below will demonstrate Facebook posting example:

using SA.iOS.Social;
...
ISN_Facebook.Post("My app Screenshot", screenshot);

We can also find out posting result:

using SA.iOS.Social;
...

public void PostScreenshot() {
    ISN_Facebook.Post("My app Screenshot", screenshot, HandleOnFacebookPostResult);       
}

private void HandleOnFacebookPostResult(SA_Result result) {
    if(result.IsSucceeded) {
        Debug.Log("Post Success!");
    } else {
        Debug.Log("Post Failed!");
    }
}