5 messages in com.googlegroups.google-picasa-data-api[PWA API] Re: Zend_Gdata_Photos_Album...
FromSent OnAttachments
Steve Wilhelm15 Jul 2008 15:32 
Jeff Fisher (Google)16 Jul 2008 13:07 
Steve Wilhelm16 Jul 2008 19:31 
sansbacon17 Jul 2008 13:54 
Jeff Fisher (Google)28 Jul 2008 18:32 
Subject:[PWA API] Re: Zend_Gdata_Photos_AlbumEntry::setGphotoAccess is ignored when creating a public Album
From:Jeff Fisher (Google) (api.@google.com)
Date:07/28/2008 06:32:12 PM
List:com.googlegroups.google-picasa-data-api

The "new albums are always created as private" bug has been fixed now.

Cheers, -Jeff

On Jul 17, 1:54 pm, sansbacon <sans@gmail.com> wrote:

if you look at a similar post re: python API, someone pointed out that you can get the albumID (gphoto_id) and then issue a put with the updated value of access='public'

On Jul 16, 9:32 pm, Steve Wilhelm <stev@gmail.com> wrote:

I have, thanks.

- Steve W.

On Jul 16, 1:08 pm, "Jeff Fisher (Google)" <api.@google.com> wrote:

Hi,

I think this is the same bug as this report:

Please star it to track its progress.

Cheers, -Jeff

On Jul 15, 3:32 pm, Steve Wilhelm <stev@gmail.com> wrote:

I am using the following code to create a Public Album via Zend GData Photos API.

        $albumEntry = new Zend_Gdata_Photos_AlbumEntry();         $albumEntry->setTitle($gp->newTitle($title));

        $newAccess = $gp->newAccess();         $newAccess->text = 'public';         $albumEntry->setGphotoAccess($newAccess);

        $createdAlbumEntry = $gp->insertAlbumEntry($albumEntry);         echo "createdAlbumEntry = " . $createdAlbumEntry->getGphotoId() . ' ' . $createdAlbumEntry->getTitle() . ' ' . $createdAlbumEntry-

getGphotoAccess() . "\n";

After successfully creating the album, the function getGphotoAccess returns 'private'. When using Web Picasa, the Album is marked 'Unlisted' and does not appear in the Public Gallery.

Is this an known limitation of the Zend GData Photos API or am I doing something wrong?

- STeve W.