private void OnInitComplete()
    {
        //this.Status = "Success - Check log for details";
        //this.LastResponse = "Success Response: OnInitComplete Called\n";
        string logMessage = string.Format(
            "OnInitCompleteCalled IsLoggedIn='{0}' IsInitialized='{1}'",
            FB.IsLoggedIn,
            FB.IsInitialized);

        EasyConsole.Log("Facebook Init:" + logMessage);
        //LogView.AddLog(logMessage);
    }
 private void OnFacebookLoginResult(ILoginResult result)
 {
     if (FB.IsLoggedIn)
     {
         EasyConsole.Log("OnFacebookLoginResult:" + result.AccessToken.UserId);
     }
     else
     {
         //Login Failed.
         EasyConsole.Log("OnFacebookLoginResult:" + "Failed");
     }
 }
 private void LoginWithFaceook()
 {
     EasyConsole.Log("LoginWithFacebook");
     if (FB.IsInitialized)
     {
         FB.LogInWithReadPermissions(new List <string> ()
         {
             "public_profile", "email", "user_friends"
         }, this.OnFacebookLoginResult);
     }
     else
     {
         FB.Init(this.OnInitComplete, this.OnHideUnity);
     }
 }
 private void LoginWithGuest()
 {
     EasyConsole.Log("LoginWithGuest");
     login.account = SystemInfo.deviceUniqueIdentifier;
     EasyConsole.Log(login.account);
 }