I'm using the objective-c gdata library for an iphone app.  I'm having
issues logging people in that don't have @gmail.com accounts.

When users who's email isn't a gmail email login, (either with their
email address or their login name) they always get access denied.

I'm using the following code to set up:

googlePhotosService = [[GDataServiceGooglePhotos alloc] init];
[googlePhotosService setUserAgent:@"abc-123"]; // set this to yourName-
appName-appVersion
[googlePhotosService setShouldCacheDatedData:YES];
[googlePhotosService setServiceShouldFollowNextLinks:YES];
[googlePhotosService clearLastModifiedDates];
[googlePhotosService setShouldServiceFeedsIgnoreUnknowns:YES];

// here is where the username is set
[googlePhotosService setUserCredentialsWithUsername:[account username]
password:[account password]];

It seems that the gdata api handles non gmail accounts differently.
In the past i could get this exact same code to work by telling the
user to login with their username instead of email address.  Now its
not working for either.  Public albums are still showing up for these
usernames though.

Any ideas on a way to fix this issue?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to google-picasa-data-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to