Answer the question
In order to leave comments, you need to log in
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);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question