Changed Endpoint urls to https as it is required to work by flickr