0
我想從http://flickrnet.codeplex.com運行Win Phone 7.1的示例代碼,我得到了PhotosSearch()
方法的錯誤。我從NuGet
加入FlickrNet
。我錯過了什麼嗎?錯誤如下。FlickrNet和Windows Phone 7.1
Flickr flickr = new Flickr("6317d8e0db3a555288202fe04b4f4972");
PhotoSearchOptions options = new PhotoSearchOptions();
options.BoundaryBox = new BoundaryBox(-1.7, 54.9, -1.4, 55.2); // Roughly Newcastle upon Type, England
PhotoCollection photos = flickr.PhotosSearch(options);
foreach(Photo photo in photos)
{
Console.WriteLine(String.Format("Photo \"{0}\" is at {1},{2}", photo.Title, photo.Latitude, photo.Longitude));
}