The value returned by getGphotoId() is actually the id of the album.
(Which is better to use than the album name, since it is immutable.)

http://code.google.com/apis/picasaweb/developers_guide_php.html#ListPhotos

As you can see here, you have to iterate over the feed to get
information on each photo.

Cheers,
-Jeff


On Nov 29, 11:44 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Dear all:
>
>    Recently, I am trying to use zend_service to get photos from
> picasa.
> Thus, I try to get album info first like this:
>
>     $service = new Zend_Gdata_Photos();
>     $query = new Zend_Gdata_Photos_AlbumQuery();
>     $query->setUser("qbr.admin");
>     $query->setAlbumName("20081130");
>
>     try {
>         $albumFeed = $service->getAlbumFeed($query);
>         echo $albumFeed->getGphotoId()."<br>";
>         $photoid = $albumFeed->getGphotoId()."<br>";
>     }catch (Zend_Gdata_App_Exception $e){
>         echo "Error: " . $e->getMessage();
>     }
>
> However, I found that getGphoid() does not return photo list. It's
> just a string data.
> I dont even know what it returns to me..(like this:
> 5274329397050130529)
>
> Thus, can anyone answer me that how can i retrive photo list through
> Zend_Gdata_Photos?
>
> Thanks!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to