YouTube API Project With Authentication

Поделиться
HTML-код
  • Опубликовано: 23 янв 2025

Комментарии • 261

  • @hourofthewolf9159
    @hourofthewolf9159 6 лет назад +78

    Hey Brad, last year I enrolled in a 1 year programming course. I never really wrote a single line of code in my life to that point, tho I always was into puzzles and problem solving. I started a bit slow and def felt I was not going to make it, everyone else had backround in programming and that made me felt a bit inferior and was on the verge of giving up. I discovered your youtube channel last october and from then to now, I didn't gave up and finished my course final project (with two other colleages), having the highest grade in the class. Tomorrow I'll start my internship in a nice company, doing something I'm passionate about and I own a major part of it to you. Not only because of the technical stuff, but also because you letting us viewers have a look at your personal struggles, and knowing that is okay to fall down, learn from it, get up, and thrive. Thank you.

  • @andrewjleonard
    @andrewjleonard 6 лет назад +12

    The sheer amount of quality content you put out is incredible. Keep up the hard work man and I'll keep supporting.

  • @funkyriff
    @funkyriff 6 лет назад +21

    Forever keep going, Traversy! I don't know what the internet would do without your incredibly helpful tutorials!

  • @abrahamemmanuel4906
    @abrahamemmanuel4906 6 лет назад +21

    My God!!! I was just searching for this on the web.......
    Thanks a lot...
    Lot from Lagos NG

  • @ketankshukla
    @ketankshukla 6 лет назад +48

    Thanks for simplifying all sorts of shit for us Brad - in this video AND others. Really appreciated!

  • @madvillany420
    @madvillany420 6 лет назад

    I’ve been learning front end for the past 3 months and you are the channel I go to for endless tuts. As I change careers from IT to front end you’ve helped me through understanding the basics all the way to react, which I still struggle, but I know it’s more muscle memory than anything. I want to thank you from the bottom of heart. Thanks Brad!

  • @KelasTerbuka
    @KelasTerbuka 6 лет назад +5

    wow....i have been trying to understand this API...thanks brad

  • @brady9737
    @brady9737 6 лет назад +8

    This is awesome. Thank you for constantly putting out high quality content for all of us.

  • @likithdm6888
    @likithdm6888 4 года назад +3

    The page which brad opens at 1:34 no longer has any code in it. Where can I find that code snippet? Someone please help me out!

  • @deepaks.m.6709
    @deepaks.m.6709 6 лет назад

    WOW! I was thinking of making a project like this, but was overwhelmed by the Documentation. This video is a God's Gift! :D

  • @Aaronmoreno
    @Aaronmoreno 6 лет назад

    your content is top notch! Thank you Brad, you kill it. You're top 3 fav devs for me

  • @centipeid
    @centipeid 6 лет назад +6

    I love the API projects.

  • @igo9481
    @igo9481 4 года назад +1

    I ran into the not a valid origin issue a bit. Not sure if you are using chrome as your browser, but if you are, I found that clearing the cache works

  • @GmoneyMozart
    @GmoneyMozart 6 лет назад

    A coding phase ad? Jea jea u know who it is!

    • @ConquerJS
      @ConquerJS 6 лет назад +1

      HE DONE DID IT AGAIN!!!

  • @simonndungu1196
    @simonndungu1196 6 лет назад

    always appreciating my instructor

  • @kalahari8295
    @kalahari8295 2 года назад

    Still the best tutorial on Google apis till date ❤️

  • @yashshinde8185
    @yashshinde8185 8 месяцев назад

    One of the best toutorials I have ever seen and also if possible can you do it for analytics too if possible !!!

  • @manvendrarajpoot8781
    @manvendrarajpoot8781 4 года назад

    Thank you! What I needed for my project you had just delivered the same

  • @sammylee670
    @sammylee670 4 года назад

    Explaination is simple and clear.

  • @iali3903
    @iali3903 6 лет назад +3

    i think I got two Notifications
    from One video if I am not wrong
    before I watched

    • @TraversyMedia
      @TraversyMedia  6 лет назад +1

      There were editing mistakes in the first one, sorry

  • @lardosian
    @lardosian 6 лет назад

    Glad I'm not the only one who finds the google documentation a bit overwhelming.

  • @sumana_19
    @sumana_19 4 года назад

    I cant find the page at 14:28.Seems like RUclips api website has changed a bit.Please help me out here.

  • @kingjosaphatchewa9804
    @kingjosaphatchewa9804 6 лет назад

    Always doing cool thngs! Bravo Brad!

  • @Bonezz024
    @Bonezz024 2 года назад

    Unfortunately this has been deprecated. Appreciate the time, effort and thorough explanation on things. Look forward to future videos.

  • @daniellaerachannel
    @daniellaerachannel 6 лет назад

    that's huge, thanks Brad!

  • @md.shahazaduddin5376
    @md.shahazaduddin5376 6 лет назад

    I am following this tutorial but I am stuck at 29:32 where in my case the pop up does not appear after I click on LOG IN?Is this happening to me or is this problem occuring to ithrs also? Are there any solutions for it?Help.

  • @Garycarlyle
    @Garycarlyle 4 года назад

    Trust it to be your channel that has the best tut for this. :)

  • @tsigiekumssa4018
    @tsigiekumssa4018 6 лет назад

    Awesome tutorial. Thanks Brad!!!

  • @burhankalu2682
    @burhankalu2682 6 лет назад +4

    Brad i really love your work some of us like me have learned alot from you and I would like you to start your Skype teaching classes sir.

  • @coeurdelaforet
    @coeurdelaforet 4 года назад +3

    The startup document you refer to no longer has the code snippet examples. I'm really having trouble sifting through the documentation since there have probably been updates, so some methods just aren't working for me. :/

  • @Lampgram
    @Lampgram 6 лет назад

    Google hotels API should be next! Thanks, Brad

  • @nobytes2
    @nobytes2 4 года назад

    Stupid question: 14:50 if I am using react would I need to follow node quickstart or still use js quickstart?

  • @InvincibleBeast
    @InvincibleBeast 6 лет назад +1

    The one which I was Searching for..
    Great Video.

  • @nulblaze
    @nulblaze 6 лет назад

    I actually needed a tutorial on how to use oauth and would ya look at that it's here, thank you!

  • @mediageneous
    @mediageneous 4 года назад

    Thank you for the very easy tutorial.

  • @sebastiansosa3072
    @sebastiansosa3072 6 лет назад

    What should i look into to create something that that (3:07) custom home page?
    Or is it just some mac exclusive thing?

    • @HeWhoPlayss
      @HeWhoPlayss 11 месяцев назад

      its a chrome extension called MOMENTUM, enjoy buddy

  • @tkdevlop
    @tkdevlop 6 лет назад

    Really appreciate Brad.

  • @lilrex2015
    @lilrex2015 6 лет назад +1

    I rarely comment, but thank you, thank you so much. I looked high and low on YT and found this video buried deep in the list. Can you show how to use the refresh token?

  • @tamasszam879
    @tamasszam879 6 лет назад +4

    Hi All,
    I got an error: gapi.client.youtube is undefined :/
    Anyone can help me, why is it came up ?
    Thanks,
    Tom

  • @williamhenry661
    @williamhenry661 6 лет назад +6

    shoutout Joe!

    • @ne9835
      @ne9835 6 лет назад

      Avi Yeah

  • @NoChillAustin
    @NoChillAustin Год назад

    Hey Brad, since google/youtube is updating their API to use a new log-in method authentication, can you make an update video using this new method since the old one will be depreciated? Thanks!

  • @Scrapemist
    @Scrapemist 4 года назад

    Why use a sensitive scope to access insensitive data? Now you have te get your app verified to be able to finish this tut. But public channel info isn't sensitive right?

  • @SamSam-zn4ym
    @SamSam-zn4ym 6 лет назад

    you are reading my mind I was about to start YT project ...

  • @Joshua-dl3ns
    @Joshua-dl3ns 6 лет назад

    liked before even the wix ad started

    • @Joshua-dl3ns
      @Joshua-dl3ns 6 лет назад

      but besides that still lit tuts!

  • @soycloud
    @soycloud 6 лет назад

    Thanks Brad! really interesting

  • @ScyferHQ
    @ScyferHQ 6 лет назад

    Ok, I have no idea if I am the only one having this problem. But when I uploaded my index.html and main.js file to my server through FTP it gives me this error:
    "Failed to load resource: the server responded with a content.googleapis.com/youtube/v3/channels?forUsername=ScytherHQ&part=snippet%2CcontentDetails%2Cstatistics:1 status of 403 ()"
    Why is this? I have uploaded everything correctly to my domain with the directory of /youtube-app/. What do I have to do to fix this issue?

  • @ajadavis2000
    @ajadavis2000 2 года назад

    would love to see an updated version of this - maybe will try to make one myself. docs a lil better but still dookie

  • @BharathBhushan13
    @BharathBhushan13 6 лет назад

    Hi Brad, please make a video on how you test the webapps you build.

  • @matinihwalmart9245
    @matinihwalmart9245 4 года назад

    Very informative. Thank you.

  • @nulI_dev
    @nulI_dev 6 лет назад +1

    Best videos on youtube :)

  • @BabanSimar
    @BabanSimar 6 лет назад

    👍🏻🙌🏻 your Udemy courses are awesome I am having two courses👍🏻👍🏻👍🏻

  • @rajsangani732
    @rajsangani732 4 года назад

    Loved it so much

  • @seb3133
    @seb3133 6 лет назад

    Awesome tutorial as usual Brad! The localhost worked for me. Strange.

  • @giacmon85
    @giacmon85 5 лет назад +1

    I love this video. Could you do a similar one for the RUclips Analytics API?

  • @Stoney_Eagle
    @Stoney_Eagle 6 лет назад

    Great tutorial.
    You could forward your DNS to your home IP. 😉

    • @TraversyMedia
      @TraversyMedia  6 лет назад

      Yeah true, I just didnt want to go through all that

  • @naseef90
    @naseef90 2 года назад +1

    Is that works, when we add fileDetails into part?

  • @mamitianarakotoarisoa1990
    @mamitianarakotoarisoa1990 6 лет назад

    I recommand this video, thank you!

  • @RaitonGG
    @RaitonGG 5 лет назад

    any idea on how to do it with a flutter app?

  • @armenchorb23
    @armenchorb23 6 лет назад

    Thank you for this video Brad, awesome. I followed the video all the way through and created the project, is there another way I can view it live without having my own domain?

  • @luckyplaya84x
    @luckyplaya84x 6 лет назад

    Thanks Brand. Please more videos about RUclips Data API. :)

  • @backendfyi
    @backendfyi 6 лет назад

    Thank you for this video. You're the best and God bless you

  • @mohammadaliriaz3690
    @mohammadaliriaz3690 5 лет назад +2

    Awesome I really love your videos!! extremely helpful. Just one thing when I'm browsing onto the developers.google page the code doesn't seem to be visible?Any suggestions on that.

    • @nanda_8
      @nanda_8 4 года назад

      Ya it is not there
      Any suggestions???
      I am confused

    • @BEEMonikaBishnoi
      @BEEMonikaBishnoi 2 года назад

      @@nanda_8 same with me you have find any?

    • @nanda_8
      @nanda_8 2 года назад

      @@BEEMonikaBishnoi It's been so long... I don't remember any

  • @MrRossss1
    @MrRossss1 5 лет назад

    Hi Brad, if I don't use the authentication as you've done here, does that mean I'd have to expose the api key in the client side code? and would that allow say a hacker to steal it/abuse it? Is there any way to hide api keys without authentication? Thanks, great video btw

  • @nickwoodward819
    @nickwoodward819 6 лет назад

    nice guide, thanks. is it possible to search through / display videos without going through a channel?

  • @mohamedabdulnazar5510
    @mohamedabdulnazar5510 6 лет назад

    Nice Tutorial. Please can you create a video for how to add custom search functionality to website.

  • @NishantSingh-qm9py
    @NishantSingh-qm9py 5 лет назад +1

    hey, do we need to implement Oauth 2 authentication just to get specific video data like (view count, title, likes) not all that channel data or anyone of the CRUD operations.

  • @dowdie78
    @dowdie78 4 года назад

    Hi Brad, thank you for the tutorial I learned a lot from it. How can you do this without authentication? For example just have it on your website displaying all your channels videos?

  • @dwarikanathmishra556
    @dwarikanathmishra556 4 года назад

    hey I'm stuck ....for any channel name i enter I get the popup showing no channel with this name

  • @mrwhammer
    @mrwhammer Год назад

    it says 0auth consent screen i dont know how to create the client id

  • @meljuapecfri9923
    @meljuapecfri9923 4 года назад

    Hello thank you for you tuto :) do you have any idea if we can can do a call by subject? like in youtube search and take every resultat? best and thank you again

  • @webstuff56
    @webstuff56 6 лет назад

    lol you're right about Google's API page being complex; thanks for any understanding of it; I would die for an instruction of their civic's app

  • @aartibulchandani4915
    @aartibulchandani4915 4 года назад

    This all works for public videos, is there any way to look at channel's private video ?

  • @eugenemusebe4963
    @eugenemusebe4963 6 лет назад +3

    Awesome content

  • @_shu_1
    @_shu_1 6 лет назад +1

    Hello Brad,
    Did you plan to make some tutorials about JAVA/J2EE? It would be amazing

  • @yangding8695
    @yangding8695 4 года назад

    It's perfect! Thanks!

  • @inodecode7600
    @inodecode7600 4 года назад

    I keep on getting the issue of the application telling me a channel doesn't exists when they do, and the application will be able to pull it up one moment, and the next not recognize the channel name, any thoughts on this anyone?

  • @kabomekgwe
    @kabomekgwe 6 лет назад

    since well, we are able to get our RUclips playlist, how will i be able to upload a video to a playlist

  • @j0hannes5
    @j0hannes5 5 лет назад

    What could one do, if a function breaks when return gapi.client.youtube.channels.list(...
    is called, but there is no error message(even though .catch() is used)? And if it's a runtime related issue, how could I wrap "await" or something similar around it (or is it already a promise, that is awaited?)?

  • @feelkstuff6999
    @feelkstuff6999 6 лет назад

    What's your color theme? I want those yellow curly brackets.

  • @rayhanmahmudshihab
    @rayhanmahmudshihab 5 лет назад

    Do I need to select "User Data" if I want to get the list of channels subscribed by a user?

  • @kimhughes1147
    @kimhughes1147 5 лет назад

    Hey Brad, the current RUclips API quickstart javascript page does not have the sample (where you copied the script tag src from) ???

    • @anmolagarwal5952
      @anmolagarwal5952 4 года назад

      github.com/google/google-api-javascript-client/blob/master/docs/start.md#option-1-load-the-api-discovery-document-then-assemble-the-request
      use this code

  • @wilmerandresperezgarcia1209
    @wilmerandresperezgarcia1209 3 года назад

    but you can login with Gmail AND get name AND later put method getchannel

  • @kirannaga2159
    @kirannaga2159 6 лет назад

    Your topic of tutorials in the web application platform are interesting, can you please do tutorial on gmail api, hotels api. And in the same tutorial can you please explain how wide variety of google apis can be used in application to build a nice application.
    Thanks in advance.

  • @emperoralthaf6264
    @emperoralthaf6264 3 года назад

    I'm not getting those port errors but I don't know why the log in button is not visible .My console doesn't have any errors .Can anyone please help me out??

  • @martinmurimi1197
    @martinmurimi1197 4 года назад

    Thank you for the video.

  • @thehappyperson4125
    @thehappyperson4125 6 лет назад

    brad i really wanna request a video. I dont know what they are called but they are like moving backgrounds on mouse.... mouse follow but some kind of co ordinates which connects on mouse hover .. what are those tech called?

  • @viveksai9353
    @viveksai9353 6 лет назад

    Hi... is there a way to prevent database write conflicts for multi user application who are continuously and simultaneously are writing on the same table. Php is preferred server side language. Can this be done with php to queue requests? Or locking the table for each insert to be completed is a better way? Or creation of singleton classes? Can u please suggest me a way. Thank you.

  • @taehyunhwang8146
    @taehyunhwang8146 6 лет назад

    This is a good tutorial. Thank you. Is it possible to import private video as well as publish?

    • @Dave-nv5rv
      @Dave-nv5rv 6 лет назад

      Yes you can. See the api documents for uploading. I've done it with asp.net and WPF using both C# and VB. There are many samples in documentation, java, php etc

  • @c.bedrosian298
    @c.bedrosian298 3 года назад

    Does this make it so RUclips can’t give copyright strikes or block your videos

  • @haisonglim6017
    @haisonglim6017 4 года назад

    Good Explaination.

  • @NaveenKolambage
    @NaveenKolambage 3 года назад

    thanks for this. can we do this without authentication?

  • @cmaan4life1
    @cmaan4life1 6 лет назад

    anyone know why I get this error message on code demos "Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('file://') does not match the recipient window's origin ('null')."??

  • @LuqmanulHakim
    @LuqmanulHakim 6 лет назад

    Hello brad my fav teacher, could you make videos about picking the right licensing for our software/work? Thank you!

  • @Z3R01d
    @Z3R01d 6 лет назад

    Hey Brad awesome Vid as always. Can you make one for working with Vanilla js on data tables? Selecting sorting filtering, (that kind of stuff) Thank you!.

  • @ingosmalose
    @ingosmalose 5 лет назад

    Can I used this API for show information from channel other person by default?

  • @MuhammadIqbal-ct5qo
    @MuhammadIqbal-ct5qo 6 лет назад

    Can we use any other video player other than RUclips player

  • @greenie62
    @greenie62 5 лет назад +1

    Anyone trying to follow this in June 2019, have you found the quickstart/js page he directs is to is now, very unhelpfully, without the code snippets?? : (

    • @itsonlyher
      @itsonlyher 5 лет назад +2

      developers.google.com/youtube/v3/guides/auth/client-side-web-apps#redirecting

    • @kimhughes1147
      @kimhughes1147 5 лет назад

      Same here - very annoying - thanks for the link Rachel Wong

  • @praf2
    @praf2 5 лет назад

    Could you say why google cloud console instead of google dev console?

  • @j0hannes5
    @j0hannes5 5 лет назад

    I'm wondering, why you used
    gapi.client.youtube.channels
    .list({})
    .then(response => {...
    to get the channel playlistID
    but
    cons request = gapi...
    request.execute(...
    to display the playlist
    insight in this regard could help me identify a bug

    • @j0hannes5
      @j0hannes5 5 лет назад

      apparently, both styles work in both cases(just tested it in your code). But it would still be interesting why you would choose one over the other.

  • @LucXX36
    @LucXX36 5 лет назад

    I think the solution with codedemos doesn't work (anymore). I got the same issue with the localhost you face at min 28. Do someone has a solution for this? Thanks in advance.