PHPackages                             gacelabs/basic-instagram-feeds - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. gacelabs/basic-instagram-feeds

ActiveSilverstripe-vendormodule[Authentication &amp; Authorization](/categories/authentication)

gacelabs/basic-instagram-feeds
==============================

Provides Instagram login code and feed collector for Silverstripe

02PHP

Since Oct 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gacelabs/basic-instagram-feeds)[ Packagist](https://packagist.org/packages/gacelabs/basic-instagram-feeds)[ RSS](/packages/gacelabs-basic-instagram-feeds/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Overview
--------

[](#overview)

[![Silverstripe supported module](https://camo.githubusercontent.com/9b7e93d393a01f6d3091fb30983b870aa863ef076858115faaa1c74b995854ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73696c7665727374726970652d737570706f727465642d3030373143342e737667)](https://www.silverstripe.org/software/addons/silverstripe-commercially-supported-module-list/)

A plugin for Silverstripe that request instagram feed information from the [Instagram Basic Display API](https://developers.facebook.com/docs/instagram-basic-display-api/getting-started/).

Requirements
------------

[](#requirements)

- PHP ^7.0 | ^8.2
- Silverstripe 4.\*

Installation
------------

[](#installation)

```
composer require gacelabs/basic-instagram-feeds
```

- For creating your Instagram App [follow these steps](https://github.com/gacelabs/basic-instagram-feeds/blob/main/docs/instagram.md)

Usage
-----

[](#usage)

- Add this lines into your projects \_config/app.yml or \_config/mysite.yml:

```
Instagram:
  app_id: 'YOUR-INSTAGRAM-APP-ID'
  app_secret: 'YOUR-INSTAGRAM-APP-SECRET'
  generated_token: 'YOUR-INSTAGRAM-USER-TOKEN'
```

`Get generated_token value:`Go to Instagram Basic Display at your [Facebook developer site](https://developers.facebook.com/apps/), then navigate to `Basic Display > User Token Generator tab`add Instagram Test Users then click `Generate Token` button to get the generated token for that instagram user

`If you don't want to add the generated_token value:`After installation and applying usage and you don't have the generated\_token value, run `dev/build` then go to CMS Menu `Settings > Instagram Tab`and click "Connect Account" button to initialized the first access token

- set own cache file and redirect uri:

```
Instagram:
  app_id: 'YOUR-INSTAGRAM-APP-ID'
  app_secret: 'YOUR-INSTAGRAM-APP-SECRET'
  cache_file: 'YOUR-CACHE-TXT-FILENAME'
  redirect_uri: 'YOUR-INSTAGRAM-REDIRECT-URI'
```

`NOTE for redirect_uri:`Add it on your Instagram Client OAuth Settings [Facebook developer site](https://developers.facebook.com/apps/)then echo the GET parameter "code" into your redirect uri script to get your access token, please refer to [plugin controller](https://github.com/gacelabs/basic-instagram-feeds/blob/main/src/controllers/SocialMediaAuthController.php)

Pull the data
-------------

[](#pull-the-data)

- In Back-end

```
$Posts = SiteConfig::current_site_config()->getInstagramPosts();

// or pull it from the cache file
$Posts = SiteConfig::current_site_config()->getCachedFeed();
```

- In Front-end

```

```

Returned fields
---------------

[](#returned-fields)

- ID
- Username
- Caption
- Link
- Image
- Timestamp

Re-extending the InstagramSiteConfigExtension Class
---------------------------------------------------

[](#re-extending-the-instagramsiteconfigextension-class)

- Updating the result data

```
namespace Your\NameSpace;

use SilverStripe\ORM\DataExtension;
use SilverStripe\ORM\ArrayList;

class YourAnotherInstagramSiteConfigExtension extends DataExtension
{
  /**
   * Updates the default results.
   *
   * @param ArrayList $list (assembled result)
   * @param array $data (instagram posts results)
   */
  public function updateInstagramPosts(ArrayList $list, $data)
  {
    // code
  }

  /**
   * Updates the cache results.
   *
   * @param $cache (parsed result)
   */
  public function updateCachedFeed($cache)
  {
    // code
  }
}
```

Bugtracker
----------

[](#bugtracker)

Bugs are tracked on github.com ([plugin issues](https://github.com/gacelabs/basic-instagram-feeds/issues)).

Links
-----

[](#links)

- [Create Instagram App](https://github.com/gacelabs/basic-instagram-feeds/blob/main/docs/instagram.md)
- [Developer](https://www.paypal.com/paypalme/datapushthru?country.x=PH&locale.x=en_US)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/805bd5259f469c3fe0118fa8b39f557f4fbaeb870b244c7b287defac48471c0c?d=identicon)[gacelabs](/maintainers/gacelabs)

---

Top Contributors

[![gacelabs](https://avatars.githubusercontent.com/u/73697319?v=4)](https://github.com/gacelabs "gacelabs (17 commits)")

### Embed Badge

![Health badge](/badges/gacelabs-basic-instagram-feeds/health.svg)

```
[![Health](https://phpackages.com/badges/gacelabs-basic-instagram-feeds/health.svg)](https://phpackages.com/packages/gacelabs-basic-instagram-feeds)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
