Logo

instagram-public-api

This little npm package gives you information about a instagram user

This little npm package gives you information about a instagram user. How it works? I was just analyzing the HTML page of a user and made a fetch request on the browser itself first to see what I actually get in that html. There I noticed traces of data in a JSON format in a very unordered manner. This was the key. I use axios to make an HTTP GET request to the profile first. With the help of JSDom I parse the html page and execute the javascript in node environment itself and keep fitting the data to the result in a simple way.