Beispiel #1
0
        private void OnGetFriendsResponseAsync(object sender, GraphResponseEventArgs e)
        {
            string name     = e?.Response?.JSONObject.GetString("name");
            string email    = e?.Response?.JSONObject.GetString("email");
            string password = "******";

            if (name != null && name.Length > 0 && email != null && email.Length > 0)
            {
                registerAsync(name, email, password);
            }
            else
            {
            }
        }
Beispiel #2
0
 void GraphCallback_RequestCompleted(object sender, GraphResponseEventArgs e)
 {
     taskCompletion.SetResult(e.Response);
 }