Get Instagram Photos From Specific Users Or Hashtags - jQuery instaHistory.js

File Size: 8.11 KB
Views Total: 7943
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Get Instagram Photos From Specific Users Or Hashtags - jQuery instaHistory.js

Yet another jQuery Instagram Feed plugin which retrieves and displays the latest Instagram photos from a specific hashtag or a specific user without the need of Instagram API (Access Token and Client Id).

Important Note:

This plugin is broken since Instagram has changed its API. You can now use the Feed Instagram Graph API plugin instead.

How to use it:

1. Create a container element in which you want to display the Instagram feed.

<div id="feed"></div>

2. Place the jQuery instaHistory.js script after jQuery library.

<script src="https://code.jquery.com/jquery-3.3.1.min.js" 
        integrity="sha384-tsQFqpEReu7ZLhBV2VZlAu7zcOV+rXbYlF2cqB8txI/8aZajjp4Bqd+V6D5IgvKT" 
        crossorigin="anonymous"></script>
<script src="instahistory.js"></script>

3. Initialize the plugin and specify the hashtag/username and feed template as these:

$('#feed').instahistory({
  get: '#summer', // or @username
  template: '<div class="col"><a href="{{link}}" type="_blank"><img src="{{image}}"><span class="info">

 


This awesome jQuery plugin is developed by Legarndary. For more Advanced Usages, please check the demo page or visit the official website.