定制 outstand/instagram-feed 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

outstand/instagram-feed

最新稳定版本:1.1.1

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.

Outstand Instagram Feed

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

  1. Download the latest release ZIP from the Releases page.
  2. Go to Plugins > Add New > Upload Plugin in your WordPress admin area.
  3. Upload the ZIP file and click Install Now.
  4. Activate the plugin.

Install with Composer

To include this plugin as a dependency in your Composer-managed WordPress project:

  1. Add the plugin to your project using the following command:
composer require outstand/instagram-feed
  1. Run composer install.
  2. 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

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

  1. Go to Settings > Outstand Instagram Feed in your WordPress admin
  2. Enter your Instagram App ID and Instagram App Secret and click Save
  3. Click Connect Instagram Account
  4. You will be redirected to Instagram where you can log in with your username and password
  5. 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.
  6. Click Allow
  7. You'll be redirected back to WordPress. Your connection will appear as Connected in the plugin settings.

Step 3: Add the Block

  1. In the block editor, search for "Instagram Feed"
  2. Add the block to your page or post
  3. Configure the number of posts to display
  4. 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.

统计信息

  • 总下载量: 70
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2026-03-06

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固