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));
     }
 }
Exemple #2
0
 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();
     }
 }
Exemple #3
0
 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");
 }
Exemple #4
0
 public void OnConnectSuccess()
 {
     facebookManager.Login();
     _isConnected = true;
 }
Exemple #5
0
 public void FacebookLogin()
 {
     facebookManager.Login();
 }