Skip to content

Facebook

levching edited this page Apr 15, 2020 · 4 revisions

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!");
    }
}

About

Foundation

AV Foundation

App Tracking Transparency

Game Kit

Store Kit

UI Kit

Social

Replay Kit

Contacts

AVKit

Photos

App Delegate

User Notifications

MediaPlayer

Core Location

AdSupport

EventKit

CloudKit

Authentication Services

XCode

Knowledge Base

Clone this wiki locally