I'm uploading an album via PHP, and need to get a link to the album
after I upload it. I'm uploading to the dropbox. I know I can simply
go to http://picasaweb.google.com/USERNAME/DropBox, but I also don't
know the username.

I can see the url in the getUserFeed, which looks like this:

http://picasaweb.google.com/wrybread/DropBox?authkey=XXXXXXXXX

But I don't know how to extract that URL from the data in the
userFeed, as I don't understand its syntax.

I found this bit of code, which enumerates the albums in a user's
account:

$userFeed = $gp->getUserFeed("default");

foreach ($userFeed as $userEntry) {
  echo $userEntry->title->text . "<br />\n";
}

But I can't figure out how to extract that URL.

I'm uploading my album like this:

$insertedEntry = $gp->insertPhotoEntry($photoEntry, $albumQuery-
>getQueryUrl());

Maybe there's a way to extract something from $insertedEntry, which
would be more efficient since the userFeed contains lots of extraneous
data?

Or some other clever solution?

-- 
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