Media from a third user on Instagram

Showing error message... on purpose, mind you.

This instance of media_recent tag pair attempts to pull a user's images from Instagram, but shows an error because user 3 has not granted access to their photo stream.


Sample EE template code:

{exp:ig_picpuller:media_recent user_id='3' limit='3' max_id='{segment_3}'}
	{if status == 'true'}
	<h2>{count}: {caption}</h2>
	<h3>Photo id: {media_id}</h3>
	<h4>{segment_2}</h4>
	<h5>{next_max_id}</h5>
	<p><img src="{low_resolution}" alt="" width="320" height="320" /></p>
	<p><a href="{link}">See the photo on Instagram.</a></p>
	{if next_max_id != ''}
		{if count == total_results}
		<a href="/code/media/{next_max_id}">Next set &raquo;</a>
		{/if}
	{/if}
	{/if}
	{if status == 'false'}
		<p>ERROR TYPE: {error_type}</p>
		<p>ERROR MESSAGE: {error_message}</p>
	{/if}
{/exp:ig_picpuller:media_recent}

Resulting rendered HTML:

ERROR TYPE: UnauthorizedUser

ERROR MESSAGE: User has not authorized Pic Puller for access to Instagram.