User info from Instagram

Access a user's profile information from Instagram.


Sample EE template code:

{exp:ig_picpuller:user user_id='1' use_stale_cache='yes'}
	{if status == 'true'}
	<h2>{count}: {username}</h2>
	<p><img src="{profile_picture}" alt='Image of {full_name}'/></p>
	<p><a href="{website}">See my website</a></p>
	<p>{full_name}</p>
	<p>{counts_media} photos in total</p>
	<p>followed by {counts_followed_by}</p>
	<p>follows {counts_follows} other Instagram users</p>
	<p>Instagram user id {id}</p>
	{/if}
	{if status == 'false'}
		<p>ERROR TYPE: {error_type}</p>
		<p>ERROR MESSAGE: {error_message}</p>
	{/if}
{/exp:ig_picpuller:user}

Resulting rendered HTML:

1: johnfmorton

Image of John Morton

See my website

John Morton

144 photos in total

followed by 60

follows 64 other Instagram users

Instagram user id 1500897