-
Notifications
You must be signed in to change notification settings - Fork 1
levching edited this page Apr 8, 2020
·
4 revisions
- Make sure That Social API is enabled under the plugin editor settings.
- Make sure, that Texture2D you trying to share is Readable.
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!");
}
}
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference
- Getting Started
- Authentication
- Game Center UI
- Leaderboards
- Default Leaderboard
- Achievements
- Saving A Game
- Access Point
- iTunes Connect Setup
- StoreKit Initialization
- Purchase flow
- Receipt Validation
- Store Review Controller
- Storefront API
- Subscription Offers