state support for flickr api