A Koken plugin to easily add an Instagram user's recent images feed.
Koken does not have a store for 3rd party plugins, so we need to install it manually.
-
Navigate to the plugins folder:
cd /storage/plugins
-
Git clone or download and unzip this package:
git clone https://github.com/wilsonlewis/koken-instagram-feed.git
-
Open a new browser window to login to your admin plugins section:
http://yoursite.com/admin/#/settings/plugins
-
Click the Enable button next to this plugin to enable
-
Click the Set up button to add an Instagram username
Add an image feed using an 'instagram' tag in an essay or custom page.
// using global settings
<instagram></instagram>
// using optional overrides
<instagram username="user" images="4"></instagram>
It can also be used in any .lens template.
username
- type: string
- value: a username as it appears in an instagram url
- default: null (set globally in plugin settings)
images
- type: integer
- value: the number of images shown
- default: 6 (set globally in plugin settings)
This plugin is open-sourced software licensed under the MIT license.