Hey TJ,

Sorry that didn't work. You should be able to use that URL like this:

https://picasaweb.google.com/data/entry/api/userid/110918005189118533839/album/AmericanCanyonSeptember152012?authkey=Gv1sRgCLTGtYSlv8jAdg&prettyprint=true

Note that the first ID you tried is the user ID , the second ID is the
album title, and if it's not your album, you probably need the authkey
param, too.

I tried the above URL and it didn't work, but that's how you would do it.

Let me know of you have more questions.

-Mike
On Dec 10, 2012 9:56 PM, "TJ" <[email protected]> wrote:

> Hi Mike,
>
> Thanks for the answer, but I can't get it to work.  Here are some
> specifics:
>
> The URL I have is the public URL that a person gets when they click the
> "Share" button in Picasa Web.  Specifically, here is a real-life example:
>
>
> https://picasaweb.google.com/110918005189118533839/AmericanCanyonSeptember152012?authuser=0&authkey=Gv1sRgCLTGtYSlv8jAdg&feat=directlink
>
>
> I've used "110918005189118533839" as the album ID and plugged it into the
> link text you provided:
>
> http://picasaweb.google.com/**data/entry/api/user/default/**
> albumid/[ALBUM_ID]?**prettyprint=true<http://picasaweb.google.com/data/entry/api/user/default/albumid/%5BALBUM_ID%5D?prettyprint=true>
>
>
> becomes
>
>  http://picasaweb.google.com/**data/entry/api/user/default/**albumid/
> 110918005189118533839?**prettyprint=true<http://picasaweb.google.com/data/entry/api/user/default/albumid/%5BALBUM_ID%5D?prettyprint=true>
>
>
> and all I get is this message:
>
> "Invalid entity id: 110918005189118533839"
>
>
> I've tried every other value in the original URL and get the same results.
>
> Thanks,
>
> TJ
>
>
> On Monday, December 10, 2012 2:47:24 PM UTC-8, Mike Erickson wrote:
>>
>> Hello TJ,
>>
>> Indeed, there is a way! If you request the photo entry, it will have a
>> list of media elements on it that point to the cover for that photo.
>>
>> So, if you have the album ID, you can:
>>
>> http://picasaweb.google.com/**data/entry/api/user/default/**
>> albumid/[ALBUM_ID]?**prettyprint=true<http://picasaweb.google.com/data/entry/api/user/default/albumid/%5BALBUM_ID%5D?prettyprint=true>
>>
>> Which will contain a media:group with media:content and some
>> media:thumbnail elements, depending on the image size 
>> parameters<https://developers.google.com/picasa-web/docs/2.0/reference#Parameters>you
>>  passed in your request.
>>
>> Don't have the album ID because you're scraping the web UI? We can help
>> you with that, too! Just take the album name from the page URL (
>> https://picasaweb.google.com/**userid/[THISONE]<https://picasaweb.google.com/userid/%5BTHISONE%5D>)
>> and add it to this slightly modified album entry URL:
>>
>> http://picasaweb.google.com/**data/entry/api/user/default/**
>> album/[ALBUM_TITLE]?**prettyprint=true<http://picasaweb.google.com/data/entry/api/user/default/album/%5BALBUM_TITLE%5D?prettyprint=true>
>>
>> I hope that helps, and stop scraping the web UI. Just use the API. It's
>> okay.
>>
>> Thanks,
>> -Mike
>>
>>
>>  --
> 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/-/oC6gm1di5kIJ.
> 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.
>

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

Reply via email to