level51/silverstripe-instagramfeed
最新稳定版本:0.1.0
Composer 安装命令:
composer require level51/silverstripe-instagramfeed
包简介
A SilverStripe module that brings a instagram feed to your homepage
README 文档
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
- Daniel Kliemsch dk@lvl51.de
Installation
composer require level51/silverstripe-instagramfeed
Setup
- Be sure that the module is in a folder instagramfeed/ on the root of the project.
sake dev/build "flush=all", depending on your config you might have to do this via URI in the browser.- Visit the Instagram developer page to register your application
- 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
- Create a page with the type InstagramFeedPage and fill the Post Limit field (if not filled, 5 is used as default)
- 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
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-08-19