Gets pictures using the Instagram API.