I want to get Album ID of created album
$service = Zend_Gdata_Photos::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient($user, $pass, $service);
$service = new Zend_Gdata_Photos($client);
$entry = new Zend_Gdata_Photos_AlbumEntry();
$entry->setTitle($service->newTitle("firstalbum"));
$values = $service->insertAlbumEntry($entry);
var_dump($values); ////display lots of no. of line of result with AlbumID,URL...
$values return a lots of lines of results and it's contains something like ["Location"]=> string(130) "https://picasaweb.google.com/data/entry/api/user/113978572163857330101/albumid/6050448340724330593/1?authkey=xxxxxxxxxxxxxxxxxxxxxxxx" I want to get Album ID from this but I don't know how to get it. I tried to get "Location" but it didn't work.
I got the album ID using returned $values object
$value->getGphotoId();