I´m trying to understand and use the Picasa Api, I´m using this example https://developers.google.com/picasa-web/docs/2.0/developers_guide_java?hl=nl-NL, so I´m trying to create a new album using the followin code:
AlbumEntry myAlbum = new AlbumEntry();
myAlbum.setTitle(new PlainTextConstruct(title));
myAlbum.setDescription(new PlainTextConstruct(description));
AlbumEntry insertedEntry = myPicasa.insert(postUrl, myAlbum);
Now is my question, how do I find the postUrl, or what do I have to fill in there?
Thanks!
As per the linked documentation, postURL
seems to be the ID of the album into which the photo needs to be inserted. It can be constructed in Java thus:
URL albumPostUrl = new URL("https://picasaweb.google.com/data/feed/api/user/username/albumid/albumid");