Automatically publish Youtube shorts and Instagram Reels via API using Node.js

Since Junuary 2024 i've been working on a side project called Discover Sampling that showcases, both on Youtube and on Instagram, musics and the samples they used to be produced.

Those shorts videos (15seconds) are meant to be uploaded daily, and I do that manually every morning. Instead, I want to deploy a small Node.js server that will do that automatically.

This is the content we will go throught :

  • Getting started with the Youtube API
  • Publishing a short from a node script
  • Getting Started with the Instagram API
  • Publishing a reels from a node script
  • Combining both script and automating the process
  • Deploy

Getting started with the Youtube API

To start using the youtube API, there's a bunch of requirements to follow. Here is a link to the official documentation that provides a quickstart guide to connect your script with the API : https://developers.google.com/youtube/v3/quickstart/nodejs