CURL error: "Could not resolve host: api.flickr.com"