Can anyone help me with this ? On Thursday, May 14, 2015 at 12:31:19 PM UTC-4, Ankit Bhurat wrote: > > Mark, Thanks for your reply. > > I am still unable to get 10,000+ photos feed from my Auto Upload folder. > > This is the URL I am using: I just replaced some numbers with `X`. > > > https://picasaweb.google.com/data/feed/api/user/105627334328146XXXXXX/albumid/1000000446722XXX?prettyprint=true&showall > > Could you please let me know, if I am missing something ? > > Thanks > Ankit > > > On Wednesday, May 13, 2015 at 1:53:00 AM UTC-4, Mark Otway wrote: >> >> You need to add &showall to the url. Search the forum (or google) for >> examples. >> >> On Mon, 11 May 2015 17:05 Ankit Bhurat <[email protected]> wrote: >> >>> Hello >>> >>> I have this following code: >>> >>> public List<AlbumEntry> getAlbums(String userId) throws IOException, >>> ServiceException { >>> Log.d(TAG, "getAlbums called for userId " + userId) ; >>> String albumUrl = API_PREFIX + userId + "?kind=album"; >>> UserFeed userFeed = getFeed(albumUrl, UserFeed.class); >>> >>> List<AlbumEntry> picasaAlbums = new ArrayList<AlbumEntry>(); >>> >>> picasaAlbums = userFeed.getAlbumEntries(); >>> >>> List<GphotoEntry> entries = userFeed.getEntries(); >>> //List<AlbumEntry> albums = new ArrayList<AlbumEntry>(); >>> for (GphotoEntry entry : entries) { >>> AlbumEntry ae = new AlbumEntry(entry); >>> >>> Log.d(TAG, "Album Name: ae.getName(): " + ae.getName() ); >>> >>> // Keep only "InstantUpload" album >>> if (ae.getName().equals("InstantUpload")) { >>> picasaAlbums.add(ae); >>> } >>> } >>> >>> return picasaAlbums; >>> } >>> >>> public List<MediaEntry> getMedia(AlbumEntry album) throws >>> IOException, >>> ServiceException{ >>> Log.d(TAG, "getMedia called for album " + album.getName()); >>> >>> AlbumFeed feed = album.getFeed(); >>> >>> List<MediaEntry> mediaList = new ArrayList<MediaEntry>(); >>> for (GphotoEntry entry : feed.getEntries()) { >>> PhotoEntry pe = new PhotoEntry(entry); >>> >>> mediaList.add(pe); >>> >>> } >>> >>> Log.d(TAG, "album: " + album.getName() + " mediaList: " + >>> mediaList.size() ); >>> >>> return mediaList; >>> } >>> >>> Now I am getting only 1000 (1K) photos and no more. Can you someone >>> please highlight what I am missing? >>> >>> Thanks >>> Ankit >>> >>> -- >>> 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. >>> For more options, visit https://groups.google.com/d/optout. >>> >>
-- 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. For more options, visit https://groups.google.com/d/optout.
