Trying to use flickrapi to upload images to flickr when creating a post