Update README because I forgot how to develop this app.
[Marketplaylister.git] / marketplay.php
1 <?php
2 require 'secrets.php';
3 $scopes = 'playlist-modify-private playlist-modify-public';
4 $url = 'https://accounts.spotify.com/en/authorize?response_type=code&client_id=93a6f9c0375c45d4b348157691aa24e8&scope=' . urlencode($scopes) . '&redirect_uri=' . urlencode(REDIRECT_URI) . '&state=' . $_GET['state'];
5 header('Location: ' .$url);
6 exit();
7