working with the picasa API with php and simple xml.
I currently have my feed like so...
$feedURL =
"http://picasaweb.google.com/data/feed/api/user/$userid/?kind=photo";
$sxml = simplexml_load_file($feedURL);
is there a way I can display that info on the page with a print_r? I want
to see every single attribute, tag, etc. that there is with that link so I
can try and figure out how to get the authkey. I see it added at the end of
the feedURL in [href] when I do an echo on the $sxml
something like this...
[link] => Array
(
[0] => SimpleXMLElement Object
(
[@attributes] => Array
(
[rel] =>
http://schemas.google.com/g/2005#feed
[type] => application/atom+xml
[href] =>
http://picasaweb.google.com/data/feed/api/user/108822373128819829392/albumid/5774774167439695457/photoid/5774774171247938738?authkey=Hgi37aezOS0
)
)
I need to figure out how to get that authkey into a variable so I can add
it to the feedURL.
on the site I have people will be logging in with their credentials and
right now they can but they can't see their private albums in picasa.
--
You received this message because you are subscribed to the Google Groups
"Google Picasa Web Albums API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-picasa-data-api/-/CBbAgjZwY5kJ.
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.