We've been having lots of issues lately with general tag fetches. I think 
most of the recent issues have been resolved but it now seems like its not 
possible to fetch a friends photos by tag.

An example fetch is this:

http://photos.googleapis.com/data/feed/api/user/101082856459243797152?kind=photo&tag=keyboard&max-results=1000

This should return 1 public photo tagged with 'keyboard' for that user. 
This works fine when the fetch is unauthenticated. You can try it in a 
normal browser to see the results. If however you run the same fetch 
through the objective-c gdata sdk and authenticate the fetch using oath 
(and authenticated as a different user than above) the fetch returns no 
photos. Authenticated tag fetches seem to always return 0 photos when 
fetching for a user other then the one logged in.

Is this a bug, is it by design? Are there any work-arounds?

The objective c we're using to run the fetch is:


    NSString *feedURLString = [NSString stringWithFormat:
@"https://photos.googleapis.com/data/feed/api/user/%@?kind=photo&tag=%@&max-results=%d";,
 
[[tag userId] encodeForURL], [[tag title] encodeForURL] , 1000, nil];

    NSURL *feedURL = [NSURL URLWithString:feedURLString];

    // fetch the photos feed

    

    GDataServiceGooglePhotos *service = [self googlePhotosService];

    

    [service clearResponseDataCache];

    [service setServiceShouldFollowNextLinks:NO];


    GDataServiceTicket * tagFetchTicket = [service fetchFeedWithURL:feedURL

                                                           delegate:self

                                                  didFinishSelector:
@selector(tagsTicket:finishedWithFeed:error:)];



-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to