Hi there,
I have built an app locally using spotipy (thanks for your awesome code!) and I'm trying to push it online with Heroku. I use the util.prompt_for_user_token() function to authorise the user_playlist_create function. Since the util function requires a command line raw input I can't understand how it will work when I push it online - can you a suggest a way that I can by pass this problem?
Many thanks!
Issy
I had the same problem in https://github.com/arska/srf2spotify#usage:
echo $SPOTIPY_CACHE > .cache-spotifyusername
python yourapp.py
Follow this example to use spotipy in an API https://github.com/plamere/spotipy/blob/master/examples/app.py
Most helpful comment
I had the same problem in https://github.com/arska/srf2spotify#usage:
!/bin/sh
echo $SPOTIPY_CACHE > .cache-spotifyusername
python yourapp.py