Unfortunately photos_from_posts still leaves in "Profile Photos" and 
"Scrapbook" type albums.  I found that I could use the partial response 
feature to filter them out of the query with:
 
fields=entry[not(gphoto:albumType)]
 
And similarly to get posts only from Google+ you can do:
 
fields=entry[gphoto:albumType]
 
However, the filtering doesn't work with max-results so it's not a whole 
lot better than doing the full query and filtering out things with 
gphoto:albumType manually.
 

On Thursday, November 1, 2012 2:45:30 PM UTC-7, Mike Erickson wrote:

> Hello,
>
> I'm glad you found that.  I didn't find any resources in the Java API to 
> interact with the albumType field.  However, I did add a work-around some 
> time ago.
>
> You can filter out those albums by appending the URL param: 
> "&hidestreamid=photos_from_posts".
>
> The sibling query for retrieving only those albums is 
> "streamid=photos_from_posts".
>
> I hope that helps.
>
>
> On Thu, Nov 1, 2012 at 2:12 PM, Robert Metcalf 
> <rmet...@googlemail.com<javascript:>
> > wrote:
>
>> I have found a difference between the albums I do want and the albums I 
>> don't.
>> The ones I don't want have the following tag under entry:
>>         <gphoto:albumType>Buzz</gphoto:albumType>
>>
>> The ones I do want do not have this type.
>>
>> I am using the Java API and I have an object of type AlbumEntry.
>> Can anyone help me with code to query this xml tag from this object?
>>
>>
>> On Thursday, 1 November 2012 21:01:05 UTC, Robert Metcalf wrote:
>>>
>>> Hi,
>>> When I look at my Picasa Web Album "My Photos" section, or my Google+ 
>>> Photos section I see my albums.
>>>
>>> When I use the API to download the my list of albums I see loads of 
>>> extra albums with names like the following:
>>> 31082011
>>> 22August2011
>>> 20082011
>>> 2507201102
>>> 25072011
>>> 23072011
>>> 17July2011
>>> 16072011
>>>
>>> Each album name seems to be a date
>>> I think they might be created by Google+ when I share a photo.
>>> The problem is I want to automatically filter these out of my list of 
>>> albums.
>>>
>>> I have had a look for likely properties but found nothing.
>>>
>>> Can anyone suggest a method this filter can be based on?
>>>
>>> Thanks
>>> Robert
>>>
>>>
>>>
>>>
>>>
>>>
>>>  -- 
>> 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/-/T6gMjrKCA1MJ.
>>
>> To post to this group, send email to 
>> google-pica...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> google-picasa-data-api+unsubscr...@googlegroups.com <javascript:>.
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/Bv9yFjxuI-4J.
To post to this group, send email to google-picasa-data-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-picasa-data-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-picasa-data-api?hl=en.

Reply via email to