Instagram Get Info
Get photo url or video url and get more post info from instagram post id or post url.
Getting Started
This npm package use open-graph-scraper and request and dose not need install them before.
Prerequisites
You must install 'NodeJS' and 'NPM' before useing; You can download them on NodeJS website.
How to use
Step 1 : Install instagram-get-info :
npm i instagram-get-info
Step 2 : Require package :
const igiClass = require("instagram-get-info");
const instagramGetInfo = new igiClass();
Step 3 : Use methods :
A) Get info from instagram post id :
instagramGetInfo.getFromPostId("YOUR-INSTAGRAM-POST-ID").then(result=>{
Console.log(result);
})
A) Get info from instagram post url :
instagramGetInfo.getFromPostUrl("YOUR-INSTAGRAM-POST-URL").then(result=>{
Console.log(result);
})
Version
This version not LTS we update and upgrade it but now version is 1.3.0@latest .
Authors
Code and design : Mr.MHMirzaei
License
This project is licensed under the MIT License - see the LICENSE file for details