Help, displays an empty window when executing the request
<?php $url = "http://vk.com"; $request_params = array( 'url' => $url, 'v' => '5.63' ); $get_params = http_build_query($request_params); $result = json_decode(file_get_contents('https://api.vk.com/method/utils.getShortLink?'. $get_params)); echo($result -> response[0] -> short_url); ?>
short_url, and not an error message? - Alexey Shimansky