Welcome folks today in this blog post we will be getting instagram id
of any user from username
in javascript and node.js using the insta-id-of
library. All the source code of the application is given below.
Get Started
In order to get started we need to install insta-id-of
library globally inside your system by this npm
command as shown below
npm i -g insta-id-of
After installing this library we can execute this below command to get the instagram numeric id
from the instagram username
as shown below
insta-id-of username
Now in place of username inside this above command you need to replace it with your instagram username as shown below
insta-id-of harshad_chopda_rocks
This is my username. If you execute this command it will give you the appropriate instagram numeric id as shown below.
You can also get help regarding all the commands by executing the below command
insta-id-of -h