Dear Picasa Web Albums API PRO:
I am trying to using the following code to add a new album to Picasa
from iphone applications:
~~~~~~~~~~~~~~
GDataEntryPhotoAlbum *newAlbum = [GDataEntryPhotoAlbum albumEntry];
[newAlbum setName:@"Parkingpal"];
[newAlbum setTimestamp:[GDataPhotoTimestamp timestampWithDate:[NSDate
date]]];
[newAlbum setAccess:kGDataPhotoAccessPublic];
NSURL *tmpURL = [NSURL URLWithString:@"http://picasaweb.google.com/
data/feed/api/user/[email protected]"];
service = [self googlePhotosService];
ticket = [service fetchEntryByInsertingEntry:newAlbum
forFeedURL:tmpURL
delegate:self
didFinishSelector:@selector
(addAlbumTicket:finishedWithEntry:)
didFailSelector:@selector
(addAlbumTicket:failedWithError:)];
~~~~~~~~~~~~~~~
But I always got the following error(the username and password should
correct when create the service since I check many times with all the
possibility):
++++++++++++
picassa[67240:20b] Photo album add failed: Error
Domain=com.google.GDataServiceDomain Code=403 UserInfo=0x4458d0
"Operation could not be completed. (Modification only allowed with api
authentication.)"
++++++++++++
Anyone has any insights on this?
Thanks a lot,
Mei
co-author of IPhone app: parkingpal, shoppingpal, tippal, fresh and ph
You can find the download links from the web site:
http://www.adgreenllc.com
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---