Fetch last 12 Instagram photos & profile stats.
- Create RapidAPI access token at here: https://rapidapi.com
- Add newly created key into
instagram-widget.js
file. - Add required files in your site header as like as bellow:
<link href="/src/css/instagram-widget.css" rel="stylesheet">
<script src="/src/js/instagram-widget.js"></script>
Embed the code below wherever you want the widget to be displayed:
<div class="instagram-widget"
data-username="instagram"
data-header="yes"
data-width="80vw"
data-color="#3897f0">
</div>