in-square/pimcore-instagram-bundle
最新稳定版本:v1.0.1
Composer 安装命令:
composer require in-square/pimcore-instagram-bundle
包简介
Instagram media sync bundle for Pimcore.
README 文档
README
Bundle synchronizes recent Instagram media into Pimcore DataObjects. It creates an InstagramItem class on install and provides a console command to fetch the latest posts (image assets + metadata).
Features
- Imports recent Instagram media into
InstagramItemobjects. - Stores media as Pimcore assets under a configurable folder.
- Automatically refreshes the Instagram access token when it is close to expiring.
- Can be scheduled via CRON or executed through Pimcore Process Manager.
Configuration
Create config/packages/in_square_pimcore_instagram.yaml in the Pimcore project:
in_square_pimcore_instagram: object_folder: '/instagram' assets_folder: '/instagram' items_limit: 6
Website Settings
Add or update these Website Settings in Pimcore:
instagram_token(text) - required access token.instagram_token_expires_at(text) - updated automatically after token refresh.
Usage
Install the bundle (creates InstagramItem DataObject):
php bin/console pimcore:bundle:install InSquarePimcoreInstagramBundle
Fetch recent items:
php bin/console insquare:instagram:update-photos -c 6
Process Manager
You can add insquare:instagram:update-photos as a Process Manager job in Pimcore to run it on a schedule. The command uses ExecutionTrait, so it integrates with Process Manager out of the box.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-01-04