About instagramWidget
A MODX Revolution Extra, Snippet and Chunk to pull Instagram JSON feed. You can easily make a footer widget or make an Instagram gallery.
Information
Released
January 12, 2017
Supported Database
MySQL
License
GPLv2
Supported Versions
2.0 - <2.5
Downloads
2,187
Instructions
IMPORTANT!
After installation you need to generate an ACCESS TOKEN and get the user ID. Then inserted it in the SNIPPET PROPERTIES (open snippet, clic on the properties tab, unlock properties, insert your Access Token and User ID).
Tutorial (in French) : instagramWidget
To find your USER ID follow the instruction bellow :
To generate an ACCESS TOKEN (easy way) follow the instruction bellow :
HOW TO USE
[[instagramWidget]]
OR
[[instagramWidget? &limit=`3` &tpl=`myInstagramTpl`]]
DEFAULT PROPERTIES
&limit default 8 (Maximum 20 limited by Instagram).
&tpl default instagramWidgetTpl (chunk included in the Extra)
CHUNK PLACEHOLDER AVAILABLE
GENERAL INFORMATIONS
[[+username]] // URL rewrite style, [[+fullname]], [[+userid]], [[+profile_picture]], [[+post.type]] // Return image or video, [[+post.page]] // Post dedicated page, [[+post.created_time]], [[+post.location.name]], [[+post.like.count]], [[+post.text]], [[+post.tags]]
IMAGES
[[+image.thumbnail.url]], [[+image.thumbnail.width]], [[+image.thumbnail.height]], [[+image.low_resolution.url]], [[+image.low_resolution.width]], [[+image.low_resolution.height]], [[+image.standard_resolution.url]], [[+image.standard_resolution.width]]
VIDEOS
[[+video.low_resolution.url]], [[+video.low_resolution.width]], [[+video.low_resolution.height]], [[+video.standard_resolution.url]], [[+video.standard_resolution.width]], [[+video.standard_resolution.height]], [[+video.low_bandwidth.url]], [[+video.low_bandwidth.width]], [[+video.low_bandwidth.height]]
New in 1.0.0-pl1
- wrong name default TPL
- adding snippet call debug option