Update Readme.md to include directions for Redirect URI?
ashandrien opened this issue · 3 comments
Great App! I was trying to make it work with one of my Spotify playlists and was unable to understand how tokenization works with the redirect URI...could you add instructions to either the colab page or the readme.md? Thanks so much!
HI there. I'm not sure I exactly understand your question. Is it to do with the way to authenticate with Spotify? If so, it is probably more appropriate just to explain it here: the redirect URL is one of the parameters you specify when you set up a Spotify integration here https://developer.spotify.com/dashboard/login. Normally, this would be a callback to your webserver so that you can seamlessly authenticate the user. However, on Colab, we don't have control of the webserver, so you can set the URL to point to anything valid (e.g., https://www.google.com) as long as you put the same URL in your account and in the python code.
I've since made a much more user friendly version that you can try out here https://deej-ai.online or, if you have an Android device, you can install it as an app here https://play.google.com/store/apps/details?id=online.deejai.www
If this wasn't your question, let me know.
Best and thanks for the feedback
Actually, I should clarify that the redirect URI can't be any URL. It needs to be one that allows you to grab the result and paste it in (as indicated when you run the notebook). Google, for example, will not work, but you can probably find one that does. Refer to the Spotipy (not Spotify) documentation for more details.
I used spotify’s App dashboard, but I was unable to get a response after entering the urlehich I was redirected to. When I was able to view the app elsewhere, I discovered that the songs which it was seeded with didn’t really fit my interest. Great application. It seems smarter than discover weekly or other applications within Spotify.