log urlopen()s
catch InstagramAPIErrors and convert to HTTP errors