For the same input credentials API giving diffrent-2 results..??

Topics: Developer Forum, Project Management Forum, User Forum
Jun 6, 2007 at 9:15 AM
hi

i am a c# developer. i am using flikr api for photos. its great creativity and very benificial. but i got a problem when i using this.When i make any search for photos then api gives me diffrent-2 result each time. Plz help me to resolve this problem My code as:

<CODE>

System.Xml.XmlTextReader reader = new System.Xml.XmlTextReader(@"http://www.flickr.com/services/rest/?method=flickr.photos.getrecent&tag=fun&page=1&perpage=12&format=rest&foo=bar&apikey=86fb8319bb5e76d49f80ae56bbbb59c1");

System.Data.DataSet dst = new DataSet();
dst.ReadXml(reader);

</CODE>

Coordinator
Jun 6, 2007 at 11:54 AM
Unsure what exactly your problem is.

If you keep executing the above code then you will get different results as new photos with the 'fun' tag are added to Flickr.

If you are saying that the above code produces different results from the Flickr.Net library then please post the relevant Flickr.Net code snippet as well.

Bare in mind that the Flickr.Net library uses caching by default, so new photos wouldn't appear until the previous request had expired (defaults to 1 hour I think).

Sam