private void OnFacebookMe(IDictionary data) { statusMsg = "Initiating Gamedonia session..."; fbUserId = data ["id"] as string; PlayerManager.I.player.fbuserid = fbUserId; fbUserName = data ["name"] as string; Debug.Log("AccessToken: " + FacebookBinding.GetAccessToken() + " fbuid: " + fbUserId); Dictionary <string, object> facebookCredentials = new Dictionary <string, object> (); facebookCredentials.Add("fb_uid", fbUserId); facebookCredentials.Add("fb_access_token", FacebookBinding.GetAccessToken()); GamedoniaUsers.Authenticate(GamedoniaBackend.CredentialsType.FACEBOOK, facebookCredentials, OnFacebookLogin); }