Hi,

Please let me know how to retrieve the photo by giving the Album ID. I also 
tried as per the 
https://developers.google.com/picasa-web/docs/2.0/developers_guide_java#ListPhotos.
 
But i m not getting anything in photoEntry.

Regards,
Shweta. 

On Wednesday, February 8, 2012 5:09:04 AM UTC+5:30, Fayçal Inajjarane wrote:
>
> Hi,
>
> those are some constants I used:
>
> public static final String PICASA_WEB_USERNAME_SHORT = 
> "fayssal.inajjarane";
>
> public static final String PICASA_MAIN_ALBUM_ID = "5698678593999350737";
> Tested and works fine, but I still have the same problem.
> Thanks for your help.
>
>
> On Tue, Feb 7, 2012 at 10:47 PM, Michael Erickson 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello,
>>
>> Can you tell us what ApplicationConstants.PICASA_MAIN_ALBUM_ID is?  
>> -MErickson
>>
>>
>> On Thu, Feb 2, 2012 at 5:42 PM, fayçal.inajjarane 
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> Hi all,
>>>    I create a new "picasawebService" like this:
>>>
>>> ---- Declarations ------
>>> private PicasawebService picasawebService;
>>> private List<PhotoEntry> photos;
>>> ------------------------------
>>> this.picasawebService = new PicasawebService("faycal-
>>> inajjarane.appspot.com");
>>>
>>>
>>> this.picasawebService.setUserCredentials(ApplicationConstants.PICASA_WEB_USERNAME,
>>> ApplicationConstants.PICASA_WEB_PASSWORD);
>>> ------------------------------
>>>
>>>
>>>
>>> The service is set correctly and works fine, but when I try to get
>>> photos list like this
>>>
>>> ------------------------------
>>> URL feedUrl = new URL("https://picasaweb.google.com/data/feed/api/
>>> user/ <https://picasaweb.google.com/data/feed/api/user/>"  +
>>>                                               
>>>  ApplicationConstants.PICASA_WEB_USERNAME_SHORT          +
>>>                                                "/albumid/" + 
>>> ApplicationConstants.PICASA_MAIN_ALBUM_ID );
>>>
>>>                        AlbumFeed mainAlbum = 
>>> this.picasawebService.getFeed(feedUrl,
>>> AlbumFeed.class);
>>>
>>>                        this.photos = mainAlbum.getPhotoEntries();
>>> ------------------------------
>>> The getPhotoEntries is empty list (in eclipse debug, it gives me [] as
>>> a result). The URL is correctly generated, I tried it!
>>>
>>> Why the getPhotoEntries gives me empty list? How can I retrieve photo
>>> list as explained in the documentation?
>>>
>>> http://code.google.com/apis/picasaweb/docs/2.0/developers_guide_java.html#ListPhotos
>>>
>>> --
>>> 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]<javascript:>
>>> .
>>> To unsubscribe from this group, send email to 
>>> [email protected] <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 post to this group, send email to 
>> [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-picasa-data-api?hl=en.
>>
>
>
>
> -- 
> Cordialement.
> Fayçal INAJJARANE
> BP N° 13964
> Casablanca PPAL
> 20032  CASABLANCA
> MAROC
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-picasa-data-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to