``sparacino/module-instagram``
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
- 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
- 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
- ENABLE (YES/NO)
- APP_ACCESS_TOKEN
- Block
- Instagram > instagram.phtml
- Widget
- Instagram > widget/instagram.phtml
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