sparacino / module-instagram
A module for the Instagram Basic Display API for Magento2.
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
This package is auto-updated.
Last update: 2025-04-05 21:42:43 UTC
README
``sparacino/module-instagram``
Main Functionalities
A module for the Instagram Basic Display API for Magento2.
It is necessary to generate a "long-lived access tokens for Instagram" by connecting to the site https://developers.facebook.com
Installation
Type 1: Zip file
- Unzip the zip file and copy contents in
app/code/Sparacino/Instagram
- Enable the module by running
php bin/magento module:enable Sparacino_Instagram
- Apply database updates by running
php bin/magento setup:upgrade
- Compile code by running
php bin/magento setup:di:compile
- Rebuild static content
php bin/magento setup:static-content:deploy
- Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Install the module composer by running
composer require sparacino/module-instagram
- enable the module by running
php bin/magento module:enable Sparacino_Instagram
- apply database updates by running
php bin/magento setup:upgrade
- Compile code by running
php bin/magento setup:di:compile
- Rebuild static content
php bin/magento setup:static-content:deploy
- Flush the cache by running
php bin/magento cache:flush
Configuration
- ENABLE (YES/NO)
- APP_ACCESS_TOKEN
Specifications
- Block
- Instagram > instagram.phtml
- Widget
- Instagram > widget/instagram.phtml
Usage
You can insert a block inside a CMS page like this:
{{block class="Sparacino\Instagram\Block\Instagram" block_id="instagram.block" template="Sparacino_Instagram::instagram.phtml"}}
or you can use the widget