CodeDotJS / instagram-profile-picture

:gem: Get url to the profile picture (and more) of any Instagram user in different resolutions!
MIT License
39 stars 5 forks source link
api image instagram instagram-user npm profile-picture resolution video


Get url to the profile picture of any instagram user in different resolutions

Install

npm install --save instagram-profile-picture

Usage

ipp('9gag').then(user => { console.log(user); // => https://scontent-sit4-1.cdninstagram.com/7...jpg });


- __`Regular size`__ `:` __`640x640 px`__
```js
ipp.regular('instagram').then(user => {
  console.log(user);
  // => https://scontent-sit4-1.cdninstagram.com/7...jpg
});

Extra

Additionally, you can get downloadable link to the publically shared media (images/videos)

Related

License

MIT © Rishi Giri;