DEV Community

Fernando B πŸš€
Fernando B πŸš€

Posted on

3 2

Youtube Data API with Oauth2

Hi, all. I have a basic question that I can't find the answer anywhere. I've played with the youtube data api with node.js https://developers.google.com/youtube/v3/quickstart/nodejs and I can retrieve data just fine both with the api key and oauth2. I cannot figure out how to do the same in a React app, should I follow javascript quickstart or node.js. Or should I look for oauth2 tutorial.

Most youtube videos dealing with the api only use the api key without oauth, which doesn't help my cause. Sorry if this sounds like a silly web dev question, any docs or tutorials to point me in the right direction would be appreciated.

As you can tell I am not a web dev, be kind if the question is so basic. If you know of a good youtube data api tutorial with oauth2 and react or something similar that I can benefit from I am all ears. Thanks in advanced.

API Trace View

Struggling with slow API calls? πŸ•’

Dan Mindru walks through how he used Sentry's new Trace View feature to shave off 22.3 seconds from an API call.

Get a practical walkthrough of how to identify bottlenecks, split tasks into multiple parallel tasks, identify slow AI model calls, and more.

Read more β†’

Top comments (0)

Sentry image

See why 4M developers consider Sentry, β€œnot bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay