<?php
header('Content-type: text/html; charset=utf-8');
echo '<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">';
echo '<link href="style.css" rel="stylesheet">';
$params = [
'client_id' => '', //id приложения вк
'redirect_uri' => 'https://oauth.vk.com/blank.html',
'response_type' => 'token',
'scope' => 'photos,pages,groups,offline,messages',
];
$url = 'https://oauth.vk.com/authorize?' . http_build_query($params);
echo '<a href="' . $url . '" target="_blank" rel="noopener noreferrer">Получить токен</a>' . PHP_EOL;
?>