Does the Flickr.NET allow my code to do a search for all images with a particular tag in my private group?
I can get it to work with the API explorer. Here's the URL string with my real data replaced with nonsensical strings:
And, like I said, this works.
It may be extremely obvious. But I don't know how to do this in Flickr.NET. My code is based entirely on the FlickrNetSamples Solution, WinForms project. The authentication part of the code seems to work, in that it takes me to my Flickr user page, I allow
my app to work, and it gives me a string that I paste into my app. It seems to work since I can do a regular photo search. But I can't search for a tag within my private group.
First, I tried doing the following:
PhotoCollection pc = new PhotoCollection();
pc = f.GroupsPoolsGetPhotos("MyGroupID", "MyTag");
But this throws an exception with the following message: You don't have permission to view this pool (2)
Next, I tried using an instance of the PhotoSearchOptions class and it throws an exception on the last line of the following code, saying "You don't have permission to view this pool (4)":
Flickr f = FlickrManager.GetInstance();PhotoSearchOptions o = new PhotoSearchOptions();o.Extras = PhotoSearchExtras.AllUrls | PhotoSearchExtras.Description | PhotoSearchExtras.OwnerName;o.SortOrder = PhotoSearchSortOrder.Relevance;o.Tags = "ThisIsMyTag";o.GroupId
bindingSource1.DataSource = f.PhotosSearch(o);
What am I doing wrong?