Initial, develop a new file where you ought to put your code. I chose To place mine right into a lib folder and named the file getOgImage.js.The basic principle is very simple. We now have a webpage wherever we make an HTML web-site that looks like the OG impression we want to display when anyone shares our web page. Up coming, we use Subsequent.js