get-instagram-photo

0.0.1 • Public • Published


get-instagram-photo
helps you get Instagram photo by URL.

NPM version NPM downloads Build Status

Install

$ npm install --save get-instagram-photo

Usage

const getInstagramPhoto = require('get-instagram-photo')
 
getInstagramPhoto('https://www.instagram.com/p/BItduURBUpF/')
  .then(image => {
    console.log(image)
    //=> https://scontent.cdninstagram.com/t51.2885-15/e35/13735878_229794197415635_1137269208_n.jpg?ig_cache_key=MTMwOTgzMzc5MjgzOTgzMDA4NQ%3D%3D.2
  })

API

getInstagramPhoto(url)

url

Type: string

The URL to the sharable link of an Instagram photo.

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i get-instagram-photo

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kchan