Hi Jeff/all,
I have a secure webalbums integration working with certs and all. I
use the Zend Picasa libs.
I can get all album information fine eg
---
$photos->getAlbumFeed($query);
---
However I'm having this problem with the getPhotoFeed function.
----
$client = $this->getAuthSubHttpClient();
$photos = new Zend_Gdata_Photos($client);
$query = new Zend_Gdata_Photos_PhotoQuery();
$query->setUser($user);
$query->setAlbumId($albumId);
$query->setPhotoId($photoId);
$query = $query->getQueryUrl() . "?kind=comment,tag";
$photoFeed = $photos->getPhotoFeed($query);
----
At this point I get an exception:
---
Fatal error: Uncaught exception
'Zend_Gdata_App_HttpException' with message 'Expected response code
200, got 403 Unknown authorization header'
---
When I dump the $query I get a valid url which I can hit in my browser
(since I'm authenticated)
But if I try to
---
file_get_contents($query);
---
I also get a
---
failed to open stream: HTTP request failed! HTTP/1.0 403
Forbidden
---
lastly, if I do NOT use secure=1 everything works.
Any ideas what this might be?
thanks and regards,
Tony.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---