Refresh Delay In Data Returned PhotoSearch

Topics: Developer Forum, User Forum
Jan 12, 2011 at 10:04 PM

First I wanted to say thank you to the developers for creating a robust and easy to use Flickr api and .net code library.

I am using the PhotoSearch method call to retrieve pictures from our Flickr account and it appears that changes being made to pictures on the Flickr account are not being reflected in the search results. For example I made two changes and neither of them are being reflected. One change was making a photo public from private and the other was deleting a photo. When I run the PhotoSearch those two photos are coming back in the search results and one photo is still private and the one that was deleted acts like it still exists.

Is there a time delay for changes made to photos through Flickr directly to be reflected through the API? Are there certain settings that I have not set?

Thank you very much in advance.

Coordinator
Jan 13, 2011 at 7:55 AM

This is likely to be a caching issue. See the other post for disabling the cache, or use the Flush method to clear the cache between calls.

Sam

Jan 14, 2011 at 12:40 AM

Setting Flickr.CacheDisabled = true; worked perfectly! Thank you very much.