W
W
Wasya UK2019-06-06 13:55:14
YouTube
Wasya UK, 2019-06-06 13:55:14

How to connect Youtube api?

I decided to learn how to work with YouTube in the node, after 3 failed attempts in the past. I did everything as in the instructions https://developers.google.com/youtube/v3/quickstar... I created a simple server and uploaded it to heroku https://wasya-youtube-api.herokuapp.com

var express = require('express');
var app = express();

const PORT = process.env.PORT || 3000;

// respond with "hello world" when a GET request is made to the homepage
app.get('/', function(req, res) {
  res.send('hello world');
});

app.listen(PORT);

I run quickstart.js and in the console it says follow the link https://accounts.google.com/o/oauth2/v2/auth?acces...
I go and it throws me to the start page, but in the console it says to enter the code from the page. What else needs to be done to get this code? Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question