Thanks, the problem was the registered address of the application (there was another), and about the access key which is transmitted after. #access_token=[an access token]. How to get it into a variable (save)?
My code
<?php
header('Location: https://api.twitch.tv/kraken/oauth2/authorize?client_id=token&redirect_uri=http://game-stats.ru&response_type=token&scope=user_read+channel_subscriptions');
exit;
?>