Thanks for your help, works fine.
On Thu, Apr 21, 2011 at 12:49 PM, Mike Erickson <[email protected]>wrote:
> You should encode the fields parameter values only, instead of the entire
> expression:
>
> try {
> fields =
> URLEncoder.encode("gphoto:quotalimit,gphoto:quotacurrent,gphoto:maxPhotosPerAlbum,entry(title,gphoto:numphotos,
> link[@rel='http://schemas.google.com/g/2005#post'](@href))", "UTF-8");
> } catch (UnsupportedEncodingException e1) {
> // TODO Auto-generated catch block
> e1.printStackTrace();
> }
> HttpGet method = new
> HttpGet("https://picasaweb.google.com/data/feed/api/user/default?kind=album&v=2.0&fields="
> + fields);
>
> I've verified that a GET works with the url given, after encoding the
> fields param values, so that should do it for you.
>
> --
> 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.
>
--
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.