How To Use The Spotify API In A React JS Application

  Рет қаралды 10,873

Scottish Coder

Scottish Coder

Жыл бұрын

I'm going to show you how to use Spotify's API with JavaScript. The Spotify API is pretty straightforward. I'll be explaining some JavaScript concepts as I create a project from the ground up. We're doing this step by step.
We will create a frontend using react and use spotifys example authentication to authenticate with spotify.
Spotify Developer Docs: developer.spotify.com/documen...

Пікірлер: 17
@junjunrad
@junjunrad Жыл бұрын
Thank you so much for posting! Following along was SO helpful. I've been struggling a bit with some of the Spotify API set up and this helped me to take flight :)
@catarinasarmento8559
@catarinasarmento8559 Жыл бұрын
This tutorial was amazing! thank you so much for your talent, just perfect!
@gabrielacaeirotopa9544
@gabrielacaeirotopa9544 Жыл бұрын
Thank you!! Had been struggling to set it up for hours!🥰🥰
@werf_64
@werf_64 11 ай бұрын
Fantastic tutorial thank you so much your a life saver! Tutorial was so good I just had to subscribe keep it up mate!
@AryanBakliwal
@AryanBakliwal Жыл бұрын
helped a lot!
@OGKix
@OGKix Жыл бұрын
Thank you!!
@riantopera
@riantopera Жыл бұрын
Thank you so much man! It helped a lot! I had some problems with the "SetNowPlaying" function because it was said "res is not defined", so i made some changes and it worked :)
@scottishcoder281
@scottishcoder281 Жыл бұрын
Glad you found it useful!
@numanarif2597
@numanarif2597 Жыл бұрын
Awesome, could you please make a video about structuring folder in react. Some pattern like MVC etc. Thanks
@BuTTerJaFFaS
@BuTTerJaFFaS 3 ай бұрын
this video is a GOD SEND!!!!!!!!!!!!!!!!!!!!!!!!!!!! Thanks!
@iosbloodz9622
@iosbloodz9622 3 ай бұрын
even though its an old video it still worked perfectly for you?
@iosbloodz9622
@iosbloodz9622 3 ай бұрын
ive been meaning to try it
@BuTTerJaFFaS
@BuTTerJaFFaS 3 ай бұрын
@@iosbloodz9622 yup
@earlgrey8611
@earlgrey8611 Ай бұрын
The API docs claim that after accepting the login they will redirect you with query pairs with the code and the state, which you then double check and then make another API call to finally get the access token. When I do it, I immediatley get the access token without this intermediate step. Very odd, not sure what I'm missing.
@asynytskyy3580
@asynytskyy3580 10 ай бұрын
not working for me
@Ryanryanryan457
@Ryanryanryan457 9 ай бұрын
Using same code, I constantly keep receiving a code back in the url instead of an accessToken or refreshToken. So frustrating, anybody have any clue why?
@BuTTerJaFFaS
@BuTTerJaFFaS 3 ай бұрын
That’s supposed to happen, you need to extract the tokens from the url and store them I believe.
Normal vs Smokers !! 😱😱😱
00:12
Tibo InShape
Рет қаралды 11 МЛН
Mini Jelly Cake 🎂
00:50
Mr. Clabik
Рет қаралды 16 МЛН
Rate the flight of our shoes at the end ✈️👠 🤣 0-100
0:15
YANA CHIRKINA
Рет қаралды 4 МЛН
DO YOU LOVE HELPING THE HOMELESS | write ✍️?? ✍️
0:51
Press tutorial😮‍💨✅
0:26
Jamshid Jamshid
Рет қаралды 5 МЛН
小樱这是碰到伪人了? #cosplay  #naruto
0:19
佐助与鸣人
Рет қаралды 6 МЛН
Никто не помогал ему😢
0:30
Фильмы I Сериалы
Рет қаралды 1,7 МЛН
СТРИЖКА ЗА 10 000$😱 #истории #стиль #стрижка
0:45
АРХИВ ИСТОРИЙ
Рет қаралды 6 МЛН