Spotify OAuth: Automating Discover Weekly Playlist - Full Tutorial

  Рет қаралды 23,188

Synsation

Synsation

Күн бұрын

Пікірлер: 70
@clarity3208
@clarity3208 Жыл бұрын
hey at 9:07 , really did not get information about Redirect URI and how did you move to next step so i was unable to create my own dashboard is there a some kind of problem in there? or what to fill in Redirect URI?
@synsation
@synsation Жыл бұрын
I just realized that that clip got cut off! So at 9:07 you can just set a placeholder for the redirectURI when first creating the app in the dashboard. For example, that placeholder value can just be "/". Later in the video, I go back and replace that value with the location of my server address, once the app is up and running . So, for example if following the video, you would set the redirect value to 127.0.0.1/redirect. This is where the Flask server is running in our example. However, if you end up hosting this app, it would be the address the app is hosted at :) Hope that clarifies things for you!
@clarity3208
@clarity3208 Жыл бұрын
@@synsation this was very helpful, does this error [ Illegal redirect_uri] occurred to you coz i simply copied entire code from your git hub reposit and pasted it on my PyCharm it throws this error on web page.
@katzmatt2
@katzmatt2 Жыл бұрын
@@synsation thanks for the reply, can you pin this comment at the top?
@synsation
@synsation Жыл бұрын
@@clarity3208 No I have not seen the illegal redirect_uri error. I would double check your dashboard and make sure that the URI in the dashboard matches the location of your web server. And make sure your web app is running.
@clarity3208
@clarity3208 Жыл бұрын
@@synsation I didn't go into much detail but i found that if we didn't use underscore as in (_external=True ) inside this [ create_spotify_oauth()] function it throws error like illegal redirect_uri in web page. so finally completed Spotify OAuth 😊😇 thanks☺
@laxlyfters8695
@laxlyfters8695 Жыл бұрын
Spotify needs you as a developer advocate. I think tutorials like these are great to know how to use a API and particular orgs tech. This type of content can get more developers using this tech and the more who build the better and creative solutions you see out there. This is a great idea for any dev looking for a job take a company like twilio for example you can choose one of many of there api and create a tutorial on how to use it and explain and create documentation for it. Thank you for this awesome video!!!
@synsation
@synsation Жыл бұрын
Thanks! I have always enjoyed the aspects of teaching things, and lots of times documentation for these types of APIs are not very straightforward. I've considered a role as a dev advocate in the past and at some point was actually interviewing for a role as a dev advocate so maybe some day!
@lakshmi9692
@lakshmi9692 Жыл бұрын
Great job to breaking down step-by-step the process of creating personalized music experience. It's great to see how coding can be applied to real-world applications. Thank you for sharing this tutorial and helping beginners like me take our coding skills to the next level!
@synsation
@synsation Жыл бұрын
Thank you for your positive feedback! I'm glad to hear that the tutorial was helpful for you. Keep coding and exploring new possibilities with the API!
@thomasannegilligan6250
@thomasannegilligan6250 Жыл бұрын
Well. The only Python I knew about (worthy of a script) had a prefix call Monty. In those days it was all about “data entry” which involved hiring typists to look at something and type it in only a QUERTY board. This young lady seems pretty smart and I like her voice which allows me to drift into sleep since all the jargon is not in my mental a space. She also has a Dad who is almost as smart as she is.
@synsation
@synsation Жыл бұрын
I have also heard of monty python :D Thanks for your support!
@iamguyfawkes1474
@iamguyfawkes1474 Жыл бұрын
Very well explained tutorial, please make more of these !! 🥺❤
@synsation
@synsation Жыл бұрын
Thank you for your feedback! I'm glad you found the tutorial helpful. I'll definitely consider creating more content like this in the future. Stay tuned!
@iamguyfawkes1474
@iamguyfawkes1474 Жыл бұрын
@@synsation ❤❤
@Error698
@Error698 Жыл бұрын
Bro, I need help. Do you think that you can help me?
@AmoghSrivastava
@AmoghSrivastava Жыл бұрын
Here from your instagram! Love the tiny details and editing you do in the tutorial. Def recommending in my circles 🙌
@synsation
@synsation Жыл бұрын
Thank you so much for your support and for recommending my tutorial to your circles! I'm glad you enjoyed the tiny details and editing, and I appreciate you taking the time to share your feedback.
@mcgrey_
@mcgrey_ 7 ай бұрын
I was searching for something like this, that builds a log in with flask! Such a great way of explaining and going through the process step by step! Thanks:)
@QuandaleDingleBarnacleJonesIII
@QuandaleDingleBarnacleJonesIII 10 ай бұрын
I just finished the tutorial and this ish got me hyped. Thank you!
@synsation
@synsation 9 ай бұрын
Yay! I’m glad you liked it and it was motivating! It was a fun little project!
@disi3z
@disi3z Ай бұрын
THANKS! Creating oauth is so tricky actually
@siletro
@siletro Жыл бұрын
Thank you soo much! You did an amazing job explaining in simple terms. I was trying so hard to implement oauth but now i finally understood it
@synsation
@synsation Жыл бұрын
You're welcome! I'm happy to hear that my explanation helped you understand OAuth better. Keep up the good work!
@studiowebselect
@studiowebselect Жыл бұрын
Put your scrip in a aws lambda function behind an api gateway and a EventBridge trigger weekly and its all be automated for free.
@synsation
@synsation Жыл бұрын
Thanks for the suggestion! I'll definitely consider using AWS Lambda and EventBridge for future automation.
@tayliecarlson7830
@tayliecarlson7830 Жыл бұрын
This video is exactly what I was looking for!! Thank you for making this. You explained everything so well and now I can create my own app from the spotify api! Thank you!!
@daviesemmanuel8047
@daviesemmanuel8047 10 ай бұрын
Were you able to access console?
@Mau5trakt
@Mau5trakt Жыл бұрын
I only can say... THANK YOU this is really what i need it. i hope some day help with my knowledge as you.
@renzeatzema5990
@renzeatzema5990 Жыл бұрын
Got here through your instagram, because this is something I definitely need in life! First world problems am I right Running into a problem tho, since the Discover Weekly wasn't in my library, the error message showed up. I thought simply placing it into my library would fix the problem, but re-running my code and refreshing the webpage, I still get the error. Any clue what's going on? Absolutely love the vibes and this new longer style content btw, keep it going!
@synsation
@synsation Жыл бұрын
Maybe there's a chance that the Discover Weekly playlist hasn't been added to your profile. Even though the playlist is curated to you, it doesn't automatically add it. You can try to go to the Discover Weekly playlist on Spotify, click the three dots next to the playlist name and the click "Add to Profile". Then the Discover Weekly playlist should show up in the list of playlists pulled from the API request. You can also go to the Spotify API sandbox and check the request to see if it is returning that playlist in the list of items.
@renzeatzema5990
@renzeatzema5990 Жыл бұрын
Exactly that minor detail fixed it, you're the best! As I said, love the new longer style content, keep it going!
@iluvsyphonfilter
@iluvsyphonfilter 3 ай бұрын
Amazing!
@Error698
@Error698 Жыл бұрын
Discover Weekly was not added to my spotify library when I completed my OAuth so it said (Discover Weekly not Found), but now I have added it to my library and now when I refresh that webpage it still says the same to me. Help Please
@synsation
@synsation Жыл бұрын
Maybe there's a chance that the Discover Weekly playlist hasn't been added to your profile. Even though the playlist is curated to you, it doesn't automatically add it. You can try to go to the Discover Weekly playlist on Spotify, click the three dots next to the playlist name and the click "Add to Profile". Then the Discover Weekly playlist should show up in the list of playlists pulled from the API request.
@Error698
@Error698 Жыл бұрын
@@synsation I have added that playlist to my profile,still it shows the same error. Is there a place where I can share a screenshot and you may help me, because it means a lot and will help in my college project
@Error698
@Error698 Жыл бұрын
Hello! Please help me!
@swapnalidhotre8265
@swapnalidhotre8265 Жыл бұрын
@@Error698 I'm facing the same problem. The playlist is added to my profile but when I try to print the id of the playlist it shows none
@fabianmutke8061
@fabianmutke8061 Жыл бұрын
@@swapnalidhotre8265 also facing the same Problem and i cant solve it on my own, send help pls xD
@Matthew-qh8df
@Matthew-qh8df 11 ай бұрын
Very cool thank you for sharing!
@TEQANIWEBAS
@TEQANIWEBAS Жыл бұрын
First 🥇❤❤❤
@ominhquanho3860
@ominhquanho3860 Жыл бұрын
Is there anyway to wrap the code from redirect url using pure python script? Thank you so much
@bananaboydan3642
@bananaboydan3642 Жыл бұрын
I dont see any console option when i login the dashboard so i cannot access a token, please help
@Brandonator24
@Brandonator24 9 ай бұрын
I'm having trouble getting my discover weekly to be found. If I print the playlists it fetches all my playlists show up EXCEPT that one. any ideas?
@synsation
@synsation 9 ай бұрын
You might have to go to the Discover weekly playlist and “Add it to Your Library”. There is a little + icon under the playlist name and once you add it, it should up in the list that comes from the API! Hopefully that helps :)
@Brandonator24
@Brandonator24 9 ай бұрын
@@synsation Unfortunately I tried that already and it still isn't showing.
@Frets49
@Frets49 11 ай бұрын
A beginner here, so how many times will this program work, as in does the saved weekly playlist get populated each week. And where in the code are we specifying when to perform all these actions.
@TomoFromEarth
@TomoFromEarth Жыл бұрын
Yo! Where did you get that sick GitHub neon light? I need that in my life. 🤣🤣
@joyceleung7009
@joyceleung7009 11 ай бұрын
Hi, i wonder would this code would be triggered as long as new songs are added to the "Discover Weekly" playlist :)
@synsation
@synsation 9 ай бұрын
I didn’t know it in the video but you could set up that script to run every week with a Cronjob or put it inside a lambda function. Then you can set a time maybe the day before the Discover weekly playlist updates
@FerJeff92
@FerJeff92 11 ай бұрын
i love you, thank you
@patricktang3377
@patricktang3377 11 ай бұрын
I noticed that your SpotifyforDevelopers has six tabs, which are Discover, Docs., Console, Community, Dashboard, Use Cases. How come mine only has two tabs, Docs. and Community?
@AristotelianLogic
@AristotelianLogic 11 ай бұрын
Spotify updated the documentation interface since the video was recorded.
@kamran1253
@kamran1253 Жыл бұрын
Thanks 😃😍
@Boullii
@Boullii Жыл бұрын
would selenium not work for logging in???
@neeraj_gk
@neeraj_gk Жыл бұрын
where will i get my redirect uri ?????
@entertainmentonspot8747
@entertainmentonspot8747 Жыл бұрын
I don't think i could focus on this if you are the one who is explaining you are just too beautiful
@pranavpranavkul
@pranavpranavkul Жыл бұрын
a year ago you looked different, now you look healthy
@skydivenext
@skydivenext Жыл бұрын
when onlyfans?
@emilydoherty8037
@emilydoherty8037 Жыл бұрын
Hi, I am trying to follow your tutorial, and it worked great at first, but recently I am running into an error whenever I try to run the flask site, I am able to get to the login to spotify page but then it redirects me to a page that says: "SpotifyOauthError spotipy.oauth2.SpotifyOauthError: error: invalid_client, error_description: Invalid client " Please let me know if you have any ideas for fixing this! Thanks in advance EDIT: also this happened after I generated a new app and Client Secret and Client ID, so I'm thinking maybe that might have to do with it. I deleted the old pair because it accidentally got leaked.
@edgarbonilla372
@edgarbonilla372 Жыл бұрын
Came here just to express how grateful I am for all the effort you put on your content. Your vibe is on a whole another level, keep these coming! 🫶🏻
@synsation
@synsation Жыл бұрын
Thank you so much for your kind words! I really appreciate your support and I'll definitely keep creating more content. Stay tuned!
@samraiblade
@samraiblade Жыл бұрын
I really like this video. I wanted to ask if there is a version that can be created for artists who are trying to match their music with the right audience without being spammy. I tried to create a version of your program (struggled). Tried using chaptgpt (stuggled). Was wondering if you do consulting or need me to email you. Really need the help. I'm a one person team😅
@crpdp
@crpdp 10 ай бұрын
Thanks Mam, It helped a lot with my project
@jacknicholson337
@jacknicholson337 Жыл бұрын
Why is app.secret_key never used?
@ViralKoko
@ViralKoko Жыл бұрын
amazing, I saw that you closed the tiktok channel and I searched on youtube, I talked to you on tiktok before, how can we get in touch? a wonderful day
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,1 МЛН
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 101 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 52 МЛН
Win This Dodgeball Game or DIE…
00:36
Alan Chikin Chow
Рет қаралды 9 МЛН
40 APIs Every Developer Should Use (in 12 minutes)
12:23
Coding with Lewis
Рет қаралды 367 М.
Gitlab DELETING Production Databases | Prime Reacts
17:27
ThePrimeTime
Рет қаралды 333 М.
Software Engineering Job Interview - Full Mock Interview
1:14:29
freeCodeCamp.org
Рет қаралды 1,4 МЛН
Hack your brain with Obsidian.md
11:53
No Boilerplate
Рет қаралды 1,9 МЛН
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 187 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 65 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 158 М.
Men Vs Women Survive The Wilderness For $500,000
31:48
MrBeast
Рет қаралды 101 МЛН