dylate-instagram-js

A javascript library to use the instagram api with an access token

Usage no npm install needed!

<script type="module">
  import dylateInstagramJs from 'https://cdn.skypack.dev/dylate-instagram-js';
</script>

README

Dylate Instagram JS

This is Dylate's javascript library to make calls to the Instagram API.

Installation

npm i dylate-instagram-js

Usage

import Instagram from "dylate-instagram-js"

const instagram = new Instagram("ACCESS_TOKEN");

instagram.mediaEdge(['id','caption'])
    .then((data) => {
        /*
          [
            {
              "id": "17895695668004550",
              "caption": ""
            },
            ...
          ]
        */
    });