Installing the Simple Instagram Feed Module

Last updated on
22 August 2020

This page covers the installation procedure and requirements necessary for installing the  Simple Instagram Feed module.

REQUIREMENTS

This module requires the jquery.instagramFeed library that can be found at https://github.com/jsanahuja/jquery.instagramFeed.

INSTALLATION

Installing Without Composer

Download the repository for the jquery.instagramFeed library that can be found at https://github.com/jsanahuja/jquery.instagramFeed.

Place the file jquery.instagramFeed.min.js in a directory called: jqueryinstagramfeed

The path to the jquery.instagramFeed library should follow:  /libraries/jqueryinstagramfeed/jquery.instagramFeed.min.js

Install the Simple Instagram Feed Block:

With DRUSH:
$ drush en simple_instagram_feed

Manual Install: 
Download it from https://www.drupal.org/project/simple_instagram_feed and install it to your website.

Installing With Composer

To install this module and the jquery.instagramFeed library with composer, You will need to perform the following four (4) steps:

  1. Edit composer.json to include the jquery.instagramFeed repository.
  2. Install the jquery.instagramFeed Library.
  3. Install the Simple Instagram Feed module.
  4. Enable the Simple Instagram Feed module.

1. Add the code below to your project's composer.json, under "repositories":

"repositories": [
{
"type": "package",
"package": {
"name": "jsanahuja/jqueryinstagramfeed",
"version": "dev-master",
"type": "drupal-library",
"dist": {
"url": "https://github.com/jsanahuja/jquery.instagramFeed/archive/master.zip",
"type": "zip"
}
}
}
]

If the installer path is not set, use:

"extra": {
"installer-paths": {
"web/libraries/{$name}": ["type:drupal-library"]
}
}

2. Install the jquery.instagramFeed Library, run:
$ composer require jsanahuja/jqueryinstagramfeed:dev-master

3. Install the Simple Instagram Feed module, run:
$ composer require 'drupal/simple_instagram_feed

4. Within the Administration menu in your website, navigate to Extend and enable the Simple Instagram Feed module.

With the Simple Instagram Feed module and jquery.instagramFeed library installed, you should now be able to navigate to the Blocks Overview page and add Instagram feeds to any pages you choose as well as adding blocks through the Layout Builder.

Help improve this page

Page status: No known problems

You can: