Commit | Line | Data |
---|---|---|
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=868e2cba00de4819900dd8a647a7ba7d&scope=' . urlencode($scopes) . '&redirect_uri=' . urlencode(REDIRECT_URI) ; | |
5 | header('Location: ' .$url); | |
6 | exit(); |