5 messages in com.googlegroups.google-picasa-data-apiRe: List of Albums through Proxy usin...
FromSent OnAttachments
brandon27 Jan 2008 10:16 
Ryan Boyd (Google)27 Jan 2008 18:05 
brandon27 Jan 2008 18:58 
brandon27 Jan 2008 19:09 
Ryan Boyd (Google)27 Jan 2008 19:47 
Subject:Re: List of Albums through Proxy using XMLHTTPREQUEST object
From:Ryan Boyd (Google) (api.@google.com)
Date:01/27/2008 07:47:17 PM
List:com.googlegroups.google-picasa-data-api

On Jan 27, 2008 6:59 PM, brandon <jenn@gmail.com> wrote:

Hi Ryan. Thanks for the reply. If I go directly to: http://picasaweb.google.com/data/feed/api/user/userID?kind=album

I see my albums listed.

If I go to the same url via my proxy, I get the same feed, minus the albums. It's weird. I don't think they have to be public in order to see them this way, especially since going to the url directly displays the list.

When you're going to the URL directly, your browser is sending your auth cookie in the likely case that you're authenticated to your Google/Picasa Web Albums account. This allows you to retrieve the unlisted albums.

Are you able to have your proxy add an Authorization header, or make the albums public?

Cheers, -Ryan

On Jan 27, 9:05 pm, "Ryan Boyd (Google)" <api.@google.com> wrote:

Hi Brandon,

That is the correct URL -- Is it possible that all your albums are non-public and thus not appearing in an unauthenticated feed request?

Cheers, -Ryan

On Jan 27, 2008 10:16 AM, brandon <jenn@gmail.com> wrote:

I'm trying to access my list of albums through a proxy using this format: http://picasaweb.google.com/data/feed/api/user/userID?kind=kinds

I'm using an ASP script. I get only part of the feed. I've tried it in PHP as well, but the same thing happens. I get all of the feed info except for the <entry> nodes.

Here's the script:

<%@ LANGUAGE=VBScript%> <% Response.Buffer=True Dim MyConnection, callUrl, TheData

callUrl = "http://picasaweb.google.com/data/feed/api/user/my username/?kind=album"

Set MyConnection = Server.CreateObject("Microsoft.XMLHTTP") MyConnection.Open "GET", callUrl, False

MyConnection.Send TheData = MyConnection.responseText

Response.ContentType = "text/xml" Response.Write (TheData)

Set MyConnection = Nothing %>