Fetch media from public Instagram feeds.
This is the upgraded (and improved) v2 version of Jack McDade's Instagrizzle.
Simply copy the Instagrizzle
folder into site/addons/
. That's it!
Full example
{{ instagrizzle username="aryehraber" limit="5" offset="1" }}
<a href="{{ link }}">
<img src="{{ image }}" alt="{{ caption:title }}">
</a>
{{ /instagrizzle }}
Set the Instagram username
{{ instagrizzle username="aryehraber" }}
Shorthand
{{ instagrizzle:aryehraber }}
Short-Shorthand (if a site-wide default is set in Settings)
{{ instagrizzle }}
Limit the number of items returned
limit="5"
Offset the items returned
offset="1"
The settings page is accessed via CP > Configure > Addons > Instagrizzle
.
- Username (string): This is used when no
username
parameter is supplied in the Instagrizzle tag. - Cache Length (int) [ Default: 60 ]: The number of minutes that Instagrizzle should cache Instagram's response.
Use the debug tag to output all of Instagram's response data.
{{ instagrizzle:debug username="aryehraber" }}