level51/silverstripe-instagramfeed

There is no license information available for the latest version (0.1.0) of this package.

A SilverStripe module that brings a instagram feed to your homepage

Installs: 31

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Open Issues: 0

Type:silverstripe-module

0.1.0 2015-08-19 11:54 UTC

This package is auto-updated.

Last update: 2024-10-25 08:13:00 UTC


README

InstagramFeed is a small module for your SilverStripe based homepage, that allows you to show a feed of your Instagram posts. All you need to do is to install and setup the module and insert a client id (see setup below) and a username.

Maintainers

Installation

composer require level51/silverstripe-instagramfeed 

Setup

  1. Be sure that the module is in a folder instagramfeed/ on the root of the project.
  2. sake dev/build "flush=all", depending on your config you might have to do this via URI in the browser.
  3. Visit the Instagram developer page to register your application
  4. Go to the CMS settings and fill there your new generated Client ID as well as your user name ...
    • ... save the changes ...
    • ... and click on the Get Instagram User ID action - this will fetch the User ID by the given user name
  5. Create a page with the type InstagramFeedPage and fill the Post Limit field (if not filled, 5 is used as default)
  6. Call the page in the frontend - everyting should work now :) of course you can overwrite the very basic demo-template by creating a template called InstagramFeedPage in your theme directory

Features

  • Fetching the most recent Instagram posts of every (public) user
  • Fetch is done on every page load - so there are always the most recent posts visible
  • Get the User ID, that is needed for the API calls by the given user name
  • Contains a InstagramFeedPage page type, that fulfills the basic needs