Flickr API: Tap Into Billions of Photos for Windows Phone 7

Sign in to queue

The Discussion

  • User profile image
    Patrick Jonas

    I'm learning

  • User profile image

    Very interesting!

  • User profile image

    Oh, thank you so much Channel9 !!!!! I'm trying to create a windows phone 7 application using flickr and this video is a wonderful introduction.

    Althought, I have some difficulty when searching in flicker with specific tags. First of all I include a reference to the flickr API and then I'm trying the following code:

    Flickr flickr = new Flickr(API_KEY); //where API_KEY is my Flickr Key
    PhotoSearchOptions searchOptions = new PhotoSearchOptions();
    searchOptions.Tags = "sun";
    searchOptions.PerPage = 5;
    searchOptions.Page = 1;
    PhotoCollection sunPhotos =;

    But I have this error report:

    >>Error 1 'FlickrNet.Flickr' does not contain a definition for 'Photos' and no extension method 'Photos' accepting a first argument of type 'FlickrNet.Flickr' could be found (are you missing a using directive or an assembly reference?) C:\Users\Ignis\Documents\Visual Studio 2010\Projects\flickrPhotos\flickrPhotos\MainPage.xaml.cs 58 54 flickrPhotos

    In a WPF application I have used flickr.PhotosSearch and works fine.

    Could anyone tell me what should I do different for the windows phone 7 application?

    Thank you in advance!

Add Your 2 Cents