private void loginButton_Click(object sender, EventArgs e) { try { m_AppEngine = FacebookManager.Login(); createHomePanel(); } catch (Exception exLogin) { MessageBox.Show(string.Format("Error! could'nt login - {0}.", exLogin.Message)); } }
public override void Start() { if (FacebookManager.IsLoggedIn) { this.OnFacebookLogin(null); } else { FacebookManager.OnFacebookLoggedIn = new FacebookLoggedInDelegate(this.OnFacebookLogin); FacebookManager.OnFacebookLogInFailed = new FacebookLogInFailedDelegate(this.OnFacebookLoginFailed); FacebookManager.Login(); } }
public void Login(OnAllDataFetchedDelegate callback) { if (this.HaveAllData) { callback(); return; } this.allDataFetchedCallbacks.Add(callback); ProcessingScreen.Show(); FacebookManager.OnFacebookLoggedIn = new FacebookLoggedInDelegate(this.OnFacebookLogin); FacebookManager.OnFacebookLogInFailed = new FacebookLogInFailedDelegate(this.OnFacebookLoginFailed); FacebookManager.Login(); Service.BILoggingController.TrackAuthorization("allow", "f"); }
public void OnConnectSuccess() { facebookManager.Login(); _isConnected = true; }
public void FacebookLogin() { facebookManager.Login(); }