public FoundUser UrlsLookupUser(string urlToFind)
{
Hashtable parameters = new Hashtable();
parameters.Add("method", "flickr.urls.lookupUser");
parameters.Add("api_key", _apiKey);
parameters.Add("url", urlToFind);
FlickrNet.Response response = GetResponseCache(parameters);
if( response.Status == ResponseStatus.OK )
{
return new FoundUser(response.AllElements[0]);
}
else
{
throw new FlickrException(response.Error);
}
}