Skip to content
Advertisement

Tag: spotify

Get Spotify access token with spotipy on Django and Python

I’m new to Django and I’m trying to link Spotify to my webapp. I’m using Spotify to do it and it correctly access to Spotify. To do it I have a button that opens the view below views.py If I don’t use auth_token = sp_auth.get_access_token() everything works fine and I got redirected to the correct. Unfortunately, if I add that

Advertisement