VKRequest request = new VKRequest("likes.getList", VKParameters.from("type", type, "owner_id", owner_id, "item_id", item_id));
request.executeSyncWithListener(new VKRequest.VKRequestListener() {
@Override
public void onComplete(VKResponse response) {
super.onComplete(response);
try {
JSONObject jsonObject = response.json.getJSONObject("response");
res[0] = jsonObject.getString("likes");
} catch (JSONException e) {
e.printStackTrace();
}
}
});