This project is not covered by Drupal’s security advisory policy.

Update 12/7/2020: Instagram no longer accepts fetching the way this module did. Read more here. For people with low amount of fetches, this might still work. But be realistic that this can stop suddenly.. My advise is to not use this module anymore.

This module lets you import one or multiple instagram feeds from users or hashtags. You do not need API keys since this uses a scraping technique to import the posts.

This module exists out of a main module and a submodule.

The main module Instagram importer will be used for fetching the correct hashtags/users and scraping new posts on cron run. It creates nodes of type Instagram. From there, you will be able to create your own views.

Getting started

Watch this tutorial to see how it works.

Enable the module and go to /admin/config/instagram/settings to choose your settings. You can add both (multiple) instagram users and hashtags

Run cron with drush cron or go to admin/config/system/cron. After this, new nodes of type 'instagram' should be imported. Make sure automated cron is enabled, or define custom cronjobs. Updates are only imported during cron run!

You can now build your own views to show the imported images in the way you would handle galleries normally.

Would you like a more out-of-the-box solution?

For users who like a more out-of-the-box solution for this can enable the instagram importer gallery submodule (within this module). Note that for this you need to install a free javascript library called Instagram importer gallery javascript plug-in. It will create a beautiful mobile-ready gallery of your feeds. Instructions on how-to can be found in the submodule's readme.md file.

Watch this movie for a look at the gallery.

Drupal 8 instagram importer
When clicked on an image:
Drupal 8 instagram widget

AttachmentSize
Drupal instagram gallery142.6 KB
Drupal 8 intagram widget1005.28 KB

Project information

Releases