Aug 13, 2010 at 2:23 AM
Edited Aug 13, 2010 at 2:25 AM
I have added flickrNetSilverlight as a reference in WP7 which works fine.
I was wondering if you have a basic sample working in WP7 as I am not sure what I might be doing wrong. My first attempt was to mimic some of your samples
Flickr flickr = new Flickr("API_KEY","SHARED_KEY");
PhotoSearchOptions searchOptions = new PhotoSearchOptions();
searchOptions.Tags = "microsoft";
searchOptions.PerPage = 10;
Photos microsoftPhotos = flickr.PhotosSearch(searchOptions);
When I create an instance of Flickr I am getting errors when I reference flickr (ie flickr.PhotosSearch(searchOptions) as well as searchOptions.
The application is also not picking them up other.
Error 5 'flickrTest.MainPage.searchOptions' is a 'field' but is used like a 'type' c:\Users\newshaggy\Documents\Visual Studio 2010\Projects\flickrTest\flickrTest\MainPage.xaml.cs 29 9 flickrTest
Error 2 Invalid token '=' in class, struct, or interface member declaration c:\Users\newshaggy\Documents\Visual Studio 2010\Projects\flickrTest\flickrTest\MainPage.xaml.cs 30 31 flickrTest