Closed pete2583 closed 5 months ago
They should go in the SPOTIFY_CLIENT
and SPOTIFY_SECRET
environment variables
Yeah, I thought that.
As in replace every time they are mentioned?
Sorry, I know I'm being dumb but I'm fairly certain I put them in the right place but every time it runs out days no api
Or just lines 18/19 on server js?
You don’t need to modify the code at all! Environment variables are set in your terminal and the program picks them up automatically. For example, here’s some instructions to set environment variables on Linux: https://www.digitalocean.com/community/tutorials/how-to-read-and-set-environmental-and-shell-variables-on-linux
Might be different depending what operating system you’re using.
Oh jeez, that makes total sense. I knew I was being dumb but just couldn't get my head around it the other day. Granted I think a few beers had been consumed lol
Hey, I imagine it's something I'm doing wrong but I can't get it to connect to Spotify.
Where exactly am I supposed to put my client id and secret? Perhaps I've put it in the wrong place, it's not overly clear in the ReadMe.
Cheers