YouTube API Project With Authentication

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

Комментарии • 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.

  • @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!

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

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

  • @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.

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

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

  • @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!

  • @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!

  • @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

  • @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

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

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

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

      HE DONE DID IT AGAIN!!!

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

    Still the best tutorial on Google apis till date ❤️

  • @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.

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

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

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

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

  • @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

  • @coeurdelaforet
    @coeurdelaforet 3 года назад +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. :/

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

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

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

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

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

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

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

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

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

    always appreciating my instructor

  • @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.

  • @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.

  • @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!

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

    Explaination is simple and clear.

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

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

  • @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

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

    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 10 месяцев назад

      its a chrome extension called MOMENTUM, enjoy buddy

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

    I love the API projects.

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

    Google hotels API should be next! Thanks, Brad

  • @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?

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

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

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

    Is that works, when we add fileDetails into part?

  • @PorkandBeans
    @PorkandBeans 4 года назад +4

    documentation outdated, here's the JS snippet to save you the trouble

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

      Thank you
      :)

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

    Thank you for the very easy tutorial.

  • @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.

  • @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

  • @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

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

    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 4 года назад

      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.

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

    liked before even the wix ad started

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

      but besides that still lit tuts!

  • @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

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

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

  • @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?

  • @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

  • @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?

  • @mohammadaliriaz3690
    @mohammadaliriaz3690 4 года назад +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

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

    Awesome tutorial. Thanks Brad!!!

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

    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?)?

  • @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')."??

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

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

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

    Always doing cool thngs! Bravo Brad!

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

    Hiii,
    Can I know if I can use the same logic to use RUclips API requiring Google OAuth authentication?

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

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

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

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

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

    that's huge, thanks Brad!

  • @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??

  • @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.

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

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

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

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

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

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

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

    can anyone tell me if the OAuth required for all requests? I just want to find videos based on title and not channel or playlist. is that something the youtube api can do?

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

    shoutout Joe!

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

      Avi Yeah

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

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

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

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

  • @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?

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

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

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

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

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

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

  • @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?

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

    Hi, Is it possible to subscribe and like using youtube api after login?

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

    Hi thanks for this awesome video and I have a question, what if I dont want to set a default channel, the API could give me my channel name with the login ??

  • @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

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

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

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

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

  • @samuelm.1339
    @samuelm.1339 6 лет назад

    I'd like to achieve something very similar to the end goal of this project. Can anyone tell me - does the client user need to be signed in, in order to simply view a list of videos by channel? I personally do not need to track whether a google user is watching a video or not, I simply want to have the videos displayed in a list, where they can click play or click the link to the video. Thanks for any replies!

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

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

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

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

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

    Hey Brad, can you tell me how did you get the google font.? I have woff file. But is it legit to use their font?

  • @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.

  • @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?

  • @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

  • @eduardohernandez-lq7bb
    @eduardohernandez-lq7bb 5 лет назад

    hello , how are you , please, how to insert the code in app on android studio. please help

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

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

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

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

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

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

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

    Can we use any other video player other than RUclips player

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

    How do you upload your code to codedemos on a windows computer?

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

    Anyone managed to get past the google account log in verification after you test it at 29:46?

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

      hey even I am stuck.there is nothing being displayed on my screen there

  • @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?

  • @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

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

    How can we read any youtube transcript using RUclips API ?

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

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

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

    why vanilla js vs vue/react?

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

    Great tutorial. I went through it a few weeks ago and was really helpful. I tried to revisit today after updating to the latest version of Chrome, now the Login doesn't work. But it does on other browsers, any ideas?

  • @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

  • @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.

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

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

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

    Please make for Android app where I can do the same thing here