Popular Photos on Instagram
Pull Instagram's popular photo feed.
Sample EE template code:
(Pic Puller Lite version)
{exp:ig_picpuller_lite:popular limit='7' use_stale_cache='yes'}
{if status == 'true'}
<h2>{count}: {caption}</h2>
<p><img src="{low_resolution}" alt="Popular photo - {caption}" width="320" height="320" /></p>
<p><a href="{link}">See the photo {media_id} on Instagram.</a></p>
<p>Latitude: {latitude}</p>
<p>Longitude: {longitude}</p>
{/if}
{if status == 'false'}
<p>ERROR TYPE: {error_type}</p>
<p>ERROR MESSAGE: {error_message}</p>
{/if}
{/exp:ig_picpuller_lite:popular}
Sample EE template code:
(Pic Puller "full" version)
{exp:ig_picpuller:popular limit='7' use_stale_cache='yes'}
{if status == 'true'}
<h2>{count}: {caption}</h2>
<p><img src="{low_resolution}" alt="Popular photo - {caption}" width="320" height="320" /></p>
<p><a href="{link}">See the photo {media_id} on Instagram.</a></p>
<p>Latitude: {latitude}</p>
<p>Longitude: {longitude}</p>
{/if}
{if status == 'false'}
<p>ERROR TYPE: {error_type}</p>
<p>ERROR MESSAGE: {error_message}</p>
{/if}
{/exp:ig_picpuller:popular}
Resulting rendered HTML:
1: 家庭新成員, Marimekko茶壷。

See the photo 195200979447264468_49300 on Instagram.
Latitude:
Longitude:
2: Water Lily Pink

See the photo 195156467510544204_656408 on Instagram.
Latitude:
Longitude:
3: Daphne's chicken gyro. 😍

See the photo 195219051064224832_1531178 on Instagram.
Latitude:
Longitude:
4: AMO @licosta @jacfrezarin

See the photo 195160079769884217_8190340 on Instagram.
Latitude: -23.582944869
Longitude: -46.697486877
5: #aditzt #ig_nesia #hdr #padepokankalisurut #photooftheday

See the photo 195201876806575365_4375744 on Instagram.
Latitude:
Longitude:
6: Kay. Draw time. Poops bye!

See the photo 195202084334169392_10242522 on Instagram.
Latitude:
Longitude:
7:

See the photo 195223924760798010_9595407 on Instagram.
Latitude:
Longitude: