/magento2-module-instafeed

Easily add customisable Instagram feeds to Magento 2 storefronts

Primary LanguagePHPOpen Software License 3.0OSL-3.0

Magento 2 Extension: Instafeed

Easily add your Instagram feed to Magento 2 storefronts, via instafeed.js.

Instagram Logo

Table Of Contents

  1. Requirements
  2. Installation
  3. Configuration
  4. Changelog
  5. License
  6. Credits
  7. Author

Requirements

  • PHP >= 7.0
  • Magento >= 2.3

Installation

Install via Composer (recommended)

Run the following command in Magento 2 root folder:

composer require markahesketh/magento2-module-instafeed
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Install via zip (not recommended)

  • Download the latest version from GitHub
  • Extract module files into <magento 2 directory>/app/code/MarkHesketh/Instafeed on your web server
    • Exact instructions for this step can vary wildly based on your Magento store. Please seek technical advice if you are unsure.

Configuration

Open the Magento 2 Admin Panel and navigate to:

Stores > Settings > Configuration > Catalog > Instagram Feed

Magento 2 Settings

Available Configuration

Enabled

Enable or disable the Instagram feed.

User ID (Required)

Instagram User ID of feed to display.

This can be found by Googling "What is my Instagram User ID?" and using one of the many free website tools.

For example, Find Instagram User ID by Mike Dalisay.

Access Token (Required)

Instagram API Access token, required by Instagram to display your feed.

You can generated a code using the Instagram Access Token Generator by Pixel Union.

Alternatively, access tokens can be created by registering with Instagram's API Platform.

Template

Default: <div><a href="{{link}}"><img src="{{image}}" /></a></div>

The HTML to use when rendering an Instagram post

Refer to the Instafeed.js templating documentation for more information.

Feed Size (Default: 8)

The maximum size limit of Instagram images to display.

Changelog

See CHANGELOG within this repository.

License

This extension is open-sourced software licensed under the OSL 3.0 License.

Credits

Author

Mark Hesketh (@markahesketh): PHP Developer from Manchester, UK.