public void GetAppUsers(OKGetAppUsersCallback callback) { Api(OKMethod.Friends.getAppUsers, delegate(HTTP.Response response) { ArrayList uids; if (response.IsJSON()) { Hashtable appUsersResponse = response.Object; if (!appUsersResponse.ContainsKey("uids")) { Debug.Log("Bad response, no uids found"); return; } uids = (ArrayList)appUsersResponse["uids"]; } else { uids = response.Array; } callback(ToStringArray(uids)); }); }
public static void GetAppUsers(OKGetAppUsersCallback callback) { OdnoklassnikiImpl.GetAppUsers(callback); }