sparacino/module-instagram
Composer 安装命令:
composer require sparacino/module-instagram
包简介
A module for the Instagram Basic Display API for Magento2.
README 文档
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
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2020-05-24