private void OnPost(FB_PostResult res) { if (res.IsSucceeded) { Debug.Log("Posting complete"); Debug.Log("Posy id: " + res.PostId); SA_StatusBar.text = "Posting complete"; } else { SA_StatusBar.text = "Oops, post failed, something was wrong " + res.Error; Debug.Log("Oops, post failed, something was wrong " + res.Error); } }
private static void FB_PostCompleted(FB_PostResult res) { Debug.Log("FB_PostCompleted"); if (res.IsSucceeded) { Debug.Log("SOOMLA_EVENT_FINISHED"); SocialShare(AN_SoomlaEventType.SOOMLA_EVENT_FINISHED, AN_SoomlaSocialProvider.FACEBOOK); } else { Debug.Log("SOOMLA_EVENT_CNACELED"); SocialShare(AN_SoomlaEventType.SOOMLA_EVENT_CNACELED, AN_SoomlaSocialProvider.FACEBOOK); } }
private void OnPost(FB_PostResult res) { if (res.IsSucceeded) { if (ShareFB != null) { ShareFB("OK"); } } else { OnPostFailed(); } }
private void OnFBAuth(FB_Result result) { SPFacebook.OnAuthCompleteAction -= OnFBAuth; if(SPFacebook.Instance.IsLoggedIn) { SPFacebook.instance.FB.FeedShare(_toId, _link, _linkName, _linkCaption, _linkDescription, _picture, _actionName, _actionLink, _reference); } else { FB_PostResult postResult = new FB_PostResult("", "Auth failed"); SPFacebook.Instance.PostCallback(postResult); } Destroy(gameObject); }
private void OnFBAuth(FB_Result result) { SPFacebook.OnAuthCompleteAction -= OnFBAuth; if (SPFacebook.Instance.IsLoggedIn) { SPFacebook.instance.FB.FeedShare(_toId, _link, _linkName, _linkCaption, _linkDescription, _picture, _actionName, _actionLink, _reference); } else { FB_PostResult postResult = new FB_PostResult("", "Auth failed"); SPFacebook.Instance.PostCallback(postResult); } Destroy(gameObject); }
private void PostCallback(IShareResult result) { FB_PostResult res = new FB_PostResult(result.RawResult, result.Error); SPFacebook.Instance.PostCallback(res); }
private void PostCallback(IShareResult result) { FB_PostResult res = new FB_PostResult(result.RawResult, result.Error); SPFacebook.Instance.PostCallback(res); }
public void PostCallback(FB_PostResult result) { OnPostingCompleteAction(result); }
private void PostCallback_Internal(FB_Result result) { FB_PostResult pr = new FB_PostResult(result.RawData, result.Error); OnPostingCompleteAction(pr); }
private void OnPost(FB_PostResult res) { if(res.IsSucceeded) { Debug.Log("Posting complete"); Debug.Log("Posy id: " + res.PostId); SA_StatusBar.text = "Posting complete"; } else { SA_StatusBar.text = "Oops, post failed, something was wrong " + res.Error; Debug.Log("Oops, post failed, something was wrong " + res.Error); } }
private void PostCallback(FBResult result) { FB_PostResult res = new FB_PostResult(result.Text, result.Error); SPFacebook.Instance.PostCallback(res); }
private void PostCallback(FBResult result) { FB_PostResult res = new FB_PostResult(result.Text, result.Error); SPFacebook.Instance.PostCallback(res); }