PHPackages                             dorsetdigital/silverstripe-simpleinstagram - 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. [Templating &amp; Views](/categories/templating)
4. /
5. dorsetdigital/silverstripe-simpleinstagram

ActiveSilverstripe-vendormodule[Templating &amp; Views](/categories/templating)

dorsetdigital/silverstripe-simpleinstagram
==========================================

Retrieves the Instagram feed for a given user for embedding in a template

v1.0.1(7y ago)47.5k[5 issues](https://github.com/DorsetDigital/silverstripe-simpleinstagram/issues)BSD-3-ClausePHP

Since Jun 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/DorsetDigital/silverstripe-simpleinstagram)[ Packagist](https://packagist.org/packages/dorsetdigital/silverstripe-simpleinstagram)[ RSS](/packages/dorsetdigital-silverstripe-simpleinstagram/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

silverstripe-simpleinstagram
============================

[](#silverstripe-simpleinstagram)

Retrieves the Instagram feed for a given user for embedding in a SilverStripe template

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d4dd80b5f2cdcd71ed18eafff630c74faf9b8477a71cf8af3b909d4b7ec2d59f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f727365744469676974616c2f73696c7665727374726970652d73696d706c65696e7374616772616d2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/DorsetDigital/silverstripe-simpleinstagram/?branch=master)[![Build Status](https://camo.githubusercontent.com/0171af7a648b5941967bc05ddeb82536735475e1d00fc40e4f3a97376fb96e8f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f446f727365744469676974616c2f73696c7665727374726970652d73696d706c65696e7374616772616d2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/DorsetDigital/silverstripe-simpleinstagram/build-status/master)[![License](https://camo.githubusercontent.com/b3775a2de17853a90995faa104f941eef3ad3c40cc89e34b8b1eaea014614d4e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d425344253230332d2d436c617573652d626c75652e737667)](LICENSE.md)[![Version](https://camo.githubusercontent.com/411a6df2dde559ea2bcd127607d0af14c41b172d8b305bff833861765abf10bf/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f646f727365746469676974616c2f73696c7665727374726970652d73696d706c65696e7374616772616d2e7376673f7374796c653d666c6174)](https://packagist.org/packages/dorsetdigital/silverstripe-simpleinstagram)

This module is a simple wrapper for the [Instagram user feed PHP library](https://github.com/pgrimaud/instagram-user-feed)

Requirements
============

[](#requirements)

- Silverstripe 4.x
- pgrimaud/instagram-user-feed 5.x

Installation
============

[](#installation)

- Install the code with `composer require dorsetdigital/silverstripe-simpleinstagram`
- Run a `dev/build?flush` to update your project

Usage
=====

[](#usage)

To use the module, you will need to add a couple of bits of code to your template and its associated model. The Instagram username is passed in as the (required) argument when instantiating the class. For example, if you were adding a feed to your HomePage class for the 'natgeo' Instagram account:

```
