outstand/instagram-feed
Composer 安装命令:
composer require outstand/instagram-feed
包简介
README 文档
README
Display Instagram posts using a customizable Gutenberg block with list and grid layouts.
Description
A WordPress plugin that connects to the Instagram API to display your Instagram posts in the block editor. It handles OAuth authentication, automatic token refresh, and provides modular blocks for media and captions with full layout and styling controls.
The icons are from Themify Icons.
Features
- OAuth Authentication: Connects to the Instagram API with automatic long-lived token refresh
- List and Grid Layouts: Choose how your feed is displayed
- Modular Blocks: Separate blocks for media, captions, and post templates
- Full Styling Support: Colors, typography, spacing, borders, and overlay controls
- Built-in Caching: 5-minute transient cache for optimal performance
Installation
Manual Installation
- Download the latest release ZIP from the Releases page.
- Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
- Upload the ZIP file and click Install Now.
- Activate the plugin.
Install with Composer
To include this plugin as a dependency in your Composer-managed WordPress project:
- Add the plugin to your project using the following command:
composer require outstand/instagram-feed
- Run
composer install. - Activate the plugin from your WordPress admin area or using WP-CLI.
Setup
You'll connect your Instagram Business or Creator account to your website using a Facebook App. This allows the plugin to fetch and display your Instagram feed securely.
Account Requirements
- Your Instagram account must be a Business or Creator account
- To convert your account: How to switch to a professional Instagram account
Step 1: Register a Facebook App
All Instagram API access goes through the Facebook Developers platform. You'll create a Facebook App, connect it to your Instagram Business or Creator account, and configure an OAuth redirect URL for this plugin.
See docs/application-setup.md for a step-by-step, screenshot-by-screenshot walk-through. When you finish that doc you will have an Instagram App ID, an Instagram App Secret, and an accepted Instagram Tester invitation — return here and continue below.
Step 2: Configure Plugin
- Go to Settings > Outstand Instagram Feed in your WordPress admin
- Enter your Instagram App ID and Instagram App Secret and click Save
- Click Connect Instagram Account
- You will be redirected to Instagram where you can log in with your username and password
- After login, you will see a permissions window. The only permission required is View profile and access media. All others you can leave unchanged or toggle off.
- Click Allow
- You'll be redirected back to WordPress. Your connection will appear as Connected in the plugin settings.
Step 3: Add the Block
- In the block editor, search for "Instagram Feed"
- Add the block to your page or post
- Configure the number of posts to display
- Choose your preferred layout (list or grid)
Usage
Instagram Feed
The main block controls the overall feed settings:
- Number of Posts: Set how many Instagram posts to display (1-50)
- Layout: Choose between list and grid layouts
- Alignment: Support for wide and full-width alignments
Child Blocks
- Post Template: Container for individual Instagram posts with full layout and styling support
- Post Media: Displays the Instagram image with link, dimension, overlay, border, and shadow controls
- Post Caption: Shows the post caption with heading level, alignment, link, and typography options
Requirements
- WordPress 6.7 or higher
- PHP 8.2 or higher
- Instagram Business or Creator account
- Facebook Developer account with Instagram product configured
Changelog
All notable changes to this project are documented in CHANGELOG.md.
License
This project is licensed under the GPL-3.0-or-later.
outstand/instagram-feed 适用场景与选型建议
outstand/instagram-feed 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 149 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 03 月 06 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 outstand/instagram-feed 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 outstand/instagram-feed 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 149
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 33
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2026-03-06