Building a Spotify API Searcher in React

  Рет қаралды 40,572

Cooper Codes

Cooper Codes

Жыл бұрын

Enjoying my videos? Sign up for more content here: www.coopercodes.com/
📩 Join CodeLetter by Cooper Codes, the 3 minute tech newsletter: thecodeletter.com
Join the Cooper Codes Community: / discord (Weekly calls, free resources, tutoring, and more!)
In this React tutorial I show you how to initialize the Spotify API, and then use the Spotify search functionality to show the albums of a certain artist. We also use react-bootstrap in order to create a basic frontend in order to handle incoming album data. We do requests to the Spotify using the JavaScript Fetch API.
Enjoying my content? Feel free to support me on Patreon / coopercodes
Business inquiry? Email thecoopercodes@gmail.com

Пікірлер: 85
@sebbel3260
@sebbel3260 Жыл бұрын
Thank you for taking the time to explain your code and console.log() as you went. Doing so is a very underrated part of the education process. Thank you!!
@-Average-
@-Average- Жыл бұрын
I have been struggling with understanding spotifys api and this is exactly what I needed, thank you
@Yotes4Life
@Yotes4Life Жыл бұрын
Top tier tutorial, man. I have a degree in education but ultimately decided against being a classroom teacher. So I've recently begun learning programming, and through the exhausting (but exciting) process of trying out resource after resource, I've gotta say -- your style is the best I've come across. You clearly know your stuff, and you walk your viewers through it in an impressive way. Thank you very much and keep the content coming! --A new subscriber
@F3sty
@F3sty 6 ай бұрын
Omg, i just started learning react and i love your video. Every details are as simple as they can get. Easy to understand. Thank you!
@Jazzsterr2468
@Jazzsterr2468 16 күн бұрын
This is the most helpful video about understanding how to use the spotify API. My guy literally explains every single step! Amazing work! Thank you!
@predator8166
@predator8166 8 ай бұрын
Great tutorial! I was struggling with some problems, your tutorial helped me figure out what was wrong
@tahmidahmed6524
@tahmidahmed6524 2 ай бұрын
As a struggling beginnner, I've been trying to understand how to implement API and React for a while now and honestly you've made this a ton easier, Thanks. (Pinning this video to windows bar right now).
@linkVSganandorf
@linkVSganandorf 9 ай бұрын
dude seriously the best react/vite spotify api tutorial all the other ones use outdated methods big thanks
@AC-lt7xf
@AC-lt7xf 11 ай бұрын
This was a great tutorial! Very thorough and informative. Thank you!
@HypCarlos
@HypCarlos Жыл бұрын
Loved the video and the small explanations for why u used certain things. Also really like ur way of programming where you implement the blue print with console logs and then replace with the actual functions. Thanks!
@CooperCodes
@CooperCodes Жыл бұрын
Always glad and willing to teach those who are willing to learn, thanks so much for watching!
@ambermichellemartinez
@ambermichellemartinez Жыл бұрын
Thank you so much for this! Exactly what I needed. :)
@korneyboy
@korneyboy 10 ай бұрын
Awesome tutorial sir. As many noted, you explain things perfectly. Is there a simple way to search directly for an album or tracks?
@Thomas-rr8vk
@Thomas-rr8vk Жыл бұрын
Just wanted to say thanks, this is exactly what I needed.
@CooperCodes
@CooperCodes Жыл бұрын
Thanks for watching, glad it was helpful :)
@dhaloh
@dhaloh 3 ай бұрын
You explain coding so well. Instant sub.
@nprocacciojr
@nprocacciojr Жыл бұрын
Awesome video man thank you!!!
@vanshikasingh9026
@vanshikasingh9026 Жыл бұрын
great explanation. thank you!
@matiasvargas1729
@matiasvargas1729 9 ай бұрын
Your really rock man!! Great code and very useful
@grimmauldplace9326
@grimmauldplace9326 9 ай бұрын
Proper tutorial man.
@harshm0di
@harshm0di Жыл бұрын
Thank you very much helped me a lot.
@pierrehanna
@pierrehanna Жыл бұрын
this is a great video! really well explained. Thanks
@CooperCodes
@CooperCodes Жыл бұрын
Thank you Pierre, appreciate the support
@dominic7129
@dominic7129 2 ай бұрын
This is really helpful as a beginner in react and learning spotify api until now and at the same time I am enjoying it while you are using taylor swift as an example, as I follow the latest fetch i got from taylor is the 1989 deluxe which is also a banger!. Thanks a lot!
@timneji
@timneji 7 ай бұрын
Really helpful l working on a similar project and that was helpful, even thou my code is still broken it did help me lots
@mahibhuiyan7824
@mahibhuiyan7824 Жыл бұрын
I really appreciate your help. Keep it up buddy.
@CooperCodes
@CooperCodes Жыл бұрын
I really appreciate you taking the time to watch the video. thanks for commenting :)
@senseiKakashi07
@senseiKakashi07 10 ай бұрын
Thanks a lot for this, though i have to get use to the documentation, but thanks for uploading this too 😁
@pamelabengloff975
@pamelabengloff975 Жыл бұрын
you saved me!!! thank you so much this is a great tutorial
@CooperCodes
@CooperCodes Жыл бұрын
Glad that it helped you! Thanks for watching :)
@Lucas_Rinaldi
@Lucas_Rinaldi Жыл бұрын
Thank you!!! 🙌
@CitizenCayne
@CitizenCayne Жыл бұрын
Great video. Thank you
@poornashreethirumalai3220
@poornashreethirumalai3220 Жыл бұрын
source code?
@la_florineta
@la_florineta Жыл бұрын
thanks a lot for your amazing content!
@CooperCodes
@CooperCodes Жыл бұрын
You’re welcome! Appreciate the comment 😄
@rachlys7365
@rachlys7365 Жыл бұрын
Thank you, it saved me!!
@schneelzare
@schneelzare Жыл бұрын
Simple and direct to the point, no unnecessary infos. But what other methods can I use to avoid hardcoding my client secret into my code? It's pretty much the only thing that's keeping from finishing my project.
@shahadsidek6550
@shahadsidek6550 Жыл бұрын
really appreciate the effort you put in this video and the way you explain everything makes it easier to understand,, i would like to ask if you can make a video that shows and plays songs
@CooperCodes
@CooperCodes Жыл бұрын
Thank you for the comment! I’ll do a React video with playing songs from Spotify soon.
@shahadsidek6550
@shahadsidek6550 Жыл бұрын
@@CooperCodes Really Appreciate Cooper Codes ..thanks
@shahadsidek6550
@shahadsidek6550 Жыл бұрын
@@CooperCodes Really Appreciate Cooper Codes ..thanks
@farhatghumra3169
@farhatghumra3169 8 ай бұрын
​@@CooperCodes code for playing song in spotify
@AshishBamania95
@AshishBamania95 Жыл бұрын
Thanks a lot for this video!
@CooperCodes
@CooperCodes Жыл бұрын
Thanks for watching :)
@mikeoviedo4009
@mikeoviedo4009 Жыл бұрын
super super slept on youtube channel here.
@CooperCodes
@CooperCodes Жыл бұрын
Thanks man I appreciate that :)
@raymond8590
@raymond8590 5 ай бұрын
awsome viddd
@maxfriedman3148
@maxfriedman3148 Жыл бұрын
Really helpful!!
@CooperCodes
@CooperCodes Жыл бұрын
Appreciate it Max, glad to see it helped :) Best of luck with whatever project you're working on
@ramanmama6736
@ramanmama6736 Жыл бұрын
Great tutorial.
@CooperCodes
@CooperCodes Жыл бұрын
Thanks for watching :)
@devinbits236
@devinbits236 Жыл бұрын
do we need to refresh the access tokens manually after they expire
@taha61333
@taha61333 7 ай бұрын
Thanks
@user-qg3hm2vi6p
@user-qg3hm2vi6p 8 ай бұрын
Amazing video, thank you. I have one issue however: the search results are not "optimal" or "smart" as you describe them. When I search for "Taylor Swift", the first result is some random artist called "Taylorxsings". How do I go about debugging that issue?
@julienperez829
@julienperez829 10 ай бұрын
Hi, thanks for this great video ! I'm having an issue while getting a token, i'm having a 400 error with my API call, is it normal ? :(
@amauryrodrigo
@amauryrodrigo Жыл бұрын
Thank you!!!!!!
@CooperCodes
@CooperCodes Жыл бұрын
You're welcome! Thanks for watching :)
@issameddinebouhoush115
@issameddinebouhoush115 9 ай бұрын
Hello, I couldn't access my dashboard from my Spotify as a developer account! error message appears even if I click on login have an idea, please?
@jaideeplobo6096
@jaideeplobo6096 Ай бұрын
Thank you. Is this api is free or paid one
@utkarshkumaryadav1431
@utkarshkumaryadav1431 8 ай бұрын
Using this method will I be able to to play songs????
@raymond8590
@raymond8590 5 ай бұрын
what should i change if i wan to search using song name ? or even genre?
@radenazhar3112
@radenazhar3112 9 ай бұрын
i got error, i cant access the token. "Failed to load resource : The Server responded with a status of 400"
@iosbloodz9622
@iosbloodz9622 3 ай бұрын
I keep getting this error while following your tutorial. BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. Any idea how to fix this?
@patrickstar8585
@patrickstar8585 3 ай бұрын
Am I able to upload this for an android application?
@raymond8590
@raymond8590 5 ай бұрын
how di i access the songs to play? can i do that?
@iosbloodz9622
@iosbloodz9622 3 ай бұрын
Hey do you happen to have the source code of this on GitHub?
@TheAditya64
@TheAditya64 Жыл бұрын
yeah you are coding but you should also use latest and greatest of js while coding so that everyone should know and also let them know why it is necessary, it's not just code, its the way you code. Like component shouldn't have data handling as well, why var if you can const or let. just add .catch while chaining promises.
@CooperCodes
@CooperCodes Жыл бұрын
Thanks for these tips, I’m going to make these a focus in future tutorials. I’m from a background of many programming languages so I can figure stuff out but I can’t admit to being a JS expert. Appreciate the comment
@TheAditya64
@TheAditya64 Жыл бұрын
@@CooperCodes ha ha anytime brother! being a js dev for so so long, I kind of keep telling everyone why you use this and this. keep building! happy coding!!!
@moseley_dev007
@moseley_dev007 10 ай бұрын
Great job, but no link to the project on github ?
@CooperCodes
@CooperCodes 10 ай бұрын
Sadly when I recorded these early videos I had like 300 subs and the laptop I wiped the laptop they were on. Sorry! I do GitHub’s for all my new videos now
@musahussain1693
@musahussain1693 11 ай бұрын
whereis the finished code
@Suraj-vn5tm
@Suraj-vn5tm Жыл бұрын
code ?
@wishinq
@wishinq Жыл бұрын
how do i get the spotify api token
@ishaanbhatia6338
@ishaanbhatia6338 Жыл бұрын
Did you manage to work it out?
@wishinq
@wishinq Жыл бұрын
@@ishaanbhatia6338 Nope
@fabianrr
@fabianrr Жыл бұрын
I need help :c
@wudao88
@wudao88 8 ай бұрын
this code does not work, unfortunately.. you will get a CORS error
@jayanspaliwal5907
@jayanspaliwal5907 8 ай бұрын
Not if you use the modules adios and cors
@jayanspaliwal5907
@jayanspaliwal5907 8 ай бұрын
Axios* , damn you autocorrect 😑
@Vania-tk9cc
@Vania-tk9cc Жыл бұрын
Thank you bro, so informative.😈❤
How To Build A Better Spotify With React
58:17
Web Dev Simplified
Рет қаралды 326 М.
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 267 М.
1 класс vs 11 класс (рисунок)
00:37
БЕРТ
Рет қаралды 4,9 МЛН
ISSEI funny story😂😂😂Strange World | Magic Lips💋
00:36
ISSEI / いっせい
Рет қаралды 93 МЛН
одни дома // EVA mash @TweetvilleCartoon
01:00
EVA mash
Рет қаралды 5 МЛН
How To Use Spotify's API With React
21:38
Avery Wicks
Рет қаралды 35 М.
Best frontend and backend projects for resume
13:11
Hitesh Choudhary
Рет қаралды 130 М.
APIs for Beginners 2023 - How to use an API (Full Course / Tutorial)
3:07:07
freeCodeCamp.org
Рет қаралды 1,7 МЛН
Learn HTML5 and CSS3 For Beginners - Crash Course
3:54:03
developedbyed
Рет қаралды 2,6 МЛН
How to Authenticate and use Spotify Web API
23:38
Maker At Play Coding
Рет қаралды 94 М.
How To Use The Spotify API In A React JS Application
26:59
Scottish Coder
Рет қаралды 10 М.
#Shorts Good idea for testing to show.
0:17
RAIN Gadgets
Рет қаралды 2,3 МЛН
Хомяк может разблокировать АЙФОН
0:14
Собиратель новостей
Рет қаралды 1,1 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Apple Event - May 7
38:22
Apple
Рет қаралды 6 МЛН