Django & React Tutorial #13 - Spotify API Tutorial (Authentication & Tokens)

preview_player
Показать описание
This Django and React tutorial will cover how to use the Spotify Web API from python. You will learn how to authorize against the Spotify API and how to use and store authorization and access tokens.

◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Courses & Merch 💰

🔗 Social Medias 🔗

🎬 My YouTube Gear 🎬

💸 Donations 💸
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️

⭐️ Tags ⭐️
- Django & React Tutorial
- Django
- React
- Spotify API Tutorial
- Spotify Web API
- Spotify API
- Spotify API Authorization

⭐️ Hashtags ⭐️
#Django #React #JavaScript
Рекомендации по теме
Комментарии
Автор

Dude this is like the most robust tutorial i've ever seen. You are awesome!

amandathompson
Автор

never been so happy to see the spotify login screen lol. seriously amazing series, thanks tim

taylormuhrline
Автор

When Tim said this video was more advanced my heart sunk when it didn't work like the other videos. I gave it a few hours tired it again, Brave broke 4 times and it authenticated! Thank you for providing these videos and love your work!!!

MrEmohawk
Автор

June 2022: Anyone getting INVALID_CLIENT: Invalid redirect URI

bennettnorman
Автор

Thank you Tim for this series, love from India !

RocseyXAmine
Автор

Tim, there is a built in function it takes the fields that you would use to get it, and if it doesn't found it, you can pass a parameter default with a dictionary with the other parameters
It returns a tuple, model and boolean if created

lautarodapin
Автор

At end, the most awaited thing finally came.
Thank you tim.

narutoop
Автор

even at the end of 2024 its the best video about Spotify oath. thanks Tim !

ELAAD
Автор

Great tutorial, really useful although I would recommend to read the documentation if you want to learn what's under the hood. Your functions made sense and were helpful while reading the docs, thank you!

ogphoenix
Автор

Love the series and following along. I was wondering if u will be uploading a new episode every week on Friday or whats the schedule for the series (this will help me plan my project time) thanks.

septiput
Автор

Everything worked very fine and it was a type error at/spotify/redirect unsupported type for timedelta s component :str

shivampurbia
Автор

Finally what I was looking for since many days!!! You are great bro!!😍😍

seyu
Автор

good job tim it was a good use of api I'm learning react but you really do make nice contents

soroushsalari
Автор

When are you doing the new AI and ML tutorial that won majority of votes on your post that you posted few days ago about what tutorials should you do next?? Also Merry Christmas my friend! 🎅

rog_shakhyar
Автор

thank a lot Tim i'm really learning more skills with this serie

deventurewithalex
Автор

I know this series is old, but just putting this out here
I encountered an error where the user is not being redirected to the spotify login page, and me being me the error was that
return Response({'status' : is_authenticated}, status=status.HTTP_200_OK)
in the spotifyAuthenticated view i used status.HTTP_200_Ok, literally i used Ok instead of OK and django didnt even let me know this was an error, i had to search for hours for the error.

So if u encounter an error do not give up, keep searching all the files, even basic ones, use developer tools on chrome or whatever browser, use print or console.log statements etc

good luck!!

ps: its fairly easy to use chatgpt to convert class components to function based ones and run on the newer versions

rupesh
Автор

Next project on scheduling scraping with django please 🤩

abhiverma
Автор

Hey, im getting the exception "unsupported type for timedelta seconds component: NoneType". I checked and timedelta needs an integer but we passed seconds=expires_in where expires_in is a DateTimeField. Can i just change expires_in?

darkbanana
Автор

Why i got ilegal scope with my browser and function normal in icnogitomode

yusufyahya
Автор

If the redirect function is giving you an invalid request after signing in to Spotify, , make sure that the text following the colon of "frontend:" matches the name in frontend/urls.

TylerReinert