If the server php is unable to use a class
OAuth, it is already built into php to communicate server-to-server
In General, this is done using curl.
So for example delatsya getting Mizuki:
\r
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://api.vk.com/method/audio.get?uid='.$uid.'&access_token='.$access_token); curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($ch, THIS, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); $data = curl_exec($ch); curl_close($ch);
The URLs for which it is necessary to request what you want can be found in the documentation in
vkontaktike