Flickr's api now requires https (wow this code is bad)