Check new photos periodically in WP7

Topics: Developer Forum, Project Management Forum, User Forum
Apr 17, 2012 at 3:18 PM

Hi,

I got photos from server as following, but I want to check new photos periodically, Is there any parameter can I use for this function? like since_id,

or I just need run this method agian.

 flickr.InterestingnessGetListAsync(PhotoSearchExtras.All, 1, 20, (c) =>
                        {
                                Deployment.Current.Dispatcher.BeginInvoke(() =>
                                {
                                    foreach (var i in c.Result)
                                    {
                                        Pictures.Add(i);
                                    }

                                });
                        });

Thanks,

Bean

Coordinator
Apr 17, 2012 at 3:36 PM

Well there is the date parameter to get a specific days interesting. Either that or call flickr.photos.search, sort by interestingness-desc and set the min_date_upload.

Always check the Flickr docs, as the FlickrNet library is just a one-to-one mapping.

http://www.flickr.com/services/api/flickr.interestingness.getList.html

http://www.flickr.com/services/api/flickr.photos.search.html

Sam

Apr 17, 2012 at 3:42 PM

okay, thanks, I got it!I will remember to check the api carefully next time.