can someone send a link to the new gdata-core-1.0.jar ?

can someone share a working example with Picasa and OAuth 2?

i used the following in java to get album list:
PicasawebService myService = new PicasawebService("MY_APP");
...
myService.setUserCredentials(username, password);
URL feedUrl = new URL("https://picasaweb.google.com/data/feed/api/user/"; + 
usernameshort+ "?kind=album");
UserFeed myUserFeed = myService.getFeed(feedUrl, UserFeed.class);
int pages = myUserFeed.getTotalResults()/1000  ;

                   for (int i=1;i<=(pages+1);i++){
String urlStr = "https://picasaweb.google.com/data/feed/api/user/"; + 
usernameshort+ "?kind=album&start-index="+(((i*1000)+1)-1000);
 feedUrl = new URL(urlStr);
myUserFeed = myService.getFeed(feedUrl, UserFeed.class);

for (AlbumEntry myAlbum : myUserFeed.getAlbumEntries()) {
String AlbumDescription = myAlbum.getDescription().getPlainText(); 
   // DO SOMETHING
}
}



now this code doesn't work anymore.

Thanks.

On Friday, September 12, 2014 at 6:36:07 PM UTC+3, Bmeist wrote:
>
> I am trying to follow the instructions here:  
> https://developers.google.com/accounts/docs/OAuth2ServiceAccount so I can 
> get my application to access my private photos.  When I go to the google 
> developer console (https://console.developers.google.com/), I do not see 
> Picasa listed as an API.  So that had my questioning whether I was on the 
> right track or not. 
>
> Can someone please verify that I am on the right track using 
> https://developers.google.com/accounts/docs/OAuth2ServiceAccount ?
>
> Thanks!
>

-- 
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.

Reply via email to