We're having issues where some users feeds arent returning from the api
right after logging in using OAuth2.0. This is in an iOS app running on
iOS7 on an iPhone.
Directly after login using the google sdk oauth we do a simple feed fetch
to make sure the authentication worked and get some extra information about
the user:
GDataQueryGooglePhotos * photoQuery = [GDataQueryGooglePhotos
photoQueryForUserID:kGDataServiceDefaultUser
albumID:nil
albumName:nil
photoID:nil];
[photoQuery setMaxResults:1];
GDataServiceGooglePhotos *service = [self googlePhotosService];
[service setServiceShouldFollowNextLinks:NO];
self.albumsFetchTicket = [service fetchFeedWithQuery:photoQuery
delegate:self
didFinishSelector:@selector
(accountCheckTicket:finishedWithFeed:error:)];
The query ends up looking like:
*https://photos.googleapis.com/data/feed/api/user/default?max-results=1*
*
*
This is authenticated so the default user should return the feed of the
currently logged in user. Instead we get the following error:
*
*
*serviceBase:<GDataServiceGooglePhotos: 0x1a8ae300>
objectFetcher:GTMHTTPFetcher 0x1a9031b0
(https://photos.googleapis.com/data/feed/api/user/default?max-results=1)
failedWithStatus:404 data:Unknown user.*
*
*
The above only happens for a few users, but it's enough that we are getting
quite a few emails and support requests to fix it. For most the login
process and following fetch works fine. We've tried the same fetch with the
users userID and email in place of 'default.' All fail.
We have the userID of a user where we are able to reproduce
this consistently. I can provide that to someone at google if needed, but
I'd rather not post it in a public forum.
Thanks for your help with this.
-Scott
--
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.