xddesigners/silverstripe-instagram-feed

Instagram Feed for Silverstripe with Basic Display API

dev-main 2025-04-04 14:26 UTC

This package is auto-updated.

Last update: 2025-04-04 15:29:56 UTC


README

Add an Instagram Feed to you Silverstripe website that can be used anywhere in your site.

Thanks

Special thanks to @Lerni and the instagram-basic-display-feed-element for his work on [instagram-basic-display-feed-element]. This project builds upon and refactors his implementation.

Installation

composer require xddesigners/silverstripe-instagram-feed
# Silverstripe 4.x
composer require xddesigners/silverstripe-instagram-feed:dev-ss4

# Silverstripe 5.x
composer require xddesigners/silverstripe-instagram-feed

Usage

Setup you Instagram App ID and Secret in your CMS -> Settings -> Instagram.

Run provided task to update your Instagram feed. sake

sake dev/tasks/XD-InstagramFeed-Tasks-InstagramUpdateTask

The feed data is stored in the database.

Use the provided templates in your website.

```env

```.ss-file
<% include XD\InstagramFeed\Includes\InstagramMedia %>
or
<% include XD\InstagramFeed\Includes\InstagramMedia_grid %>
or
<% include XD\InstagramFeed\Includes\InstagramMedia_swiper %>
Note: you need to add your own swiper js code.