Вот код:
Код: Выделить всё
$api_id = 2665162; // Insert here id of your application$secret_key = '**********************'; // Insert here secret key of your application $VK = new vkapi($api_id, $secret_key); $respfr = $VK->api('friends.getAppUsers'); print_r ($respfr);
Array ( [error] => Array ( [error_code] => 3 [error_msg] => Unknown method passed [request_params] => Array ( [0] => Array ( [key] => api_id [value] => 2665162 ) [1] => Array ( [key] => format [value] => json ) [2] => Array ( [key] => method [value] => friends.getAppUsers ) [3] => Array ( [key] => random [value] => 4868 ) [4] => Array ( [key] => timestamp [value] => 1338054692 ) [5] => Array ( [key] => v [value] => 3.0 ) [6] => Array ( [key] => sig [value] => fbd49aae2e2f0366871043419362ad30 ) ) ) )
Не могу понять в чём проблема.