public static void PopulateUsers(MessengerClient client) { var fbUsers = client.fetchAllUsers(); fbUsers.Wait(); if (fbUsers.Result.Any()) { users = fbUsers.Result; } var self = client.FetchProfile(); self.Wait(); users.Add(self.Result); }
public static void PopulateUsers(MessengerClient client) { var fbUsers = client.fetchAllUsers(); fbUsers.Wait(); if (fbUsers.Result.Any()) { users = fbUsers.Result; } var self = client.FetchProfile(); self.Wait(); users.Add(self.Result); }