Dobrojelatel / vosao

Automatically exported from code.google.com/p/vosao
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Picasa photo integration stopped working #565

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I had picasa photo integration working great, all of a sudden no images are 
being loaded.  I tried to create a test case using this code, I know to be 
working.  

#set($albums=${service.picasa.findAlbums()})
#foreach($album in $albums)
  $album.getName()
  #set($photos=${service.picasa.findPhotos($album.getName(),10)})
  #if($photos)
   photo $photos.size()
  #end
  #foreach($photo in $photos)
    <img src="$photo.getURL()" />
    photo
  #end
#end

This also produces no images.  Is there a setting I coud have changed.  
Velocity processing is checked on for the test page and my photos page and I 
reentered the correct email and password.  

What else could be causing these problems. 

Original issue reported on code.google.com by jdaheata...@gmail.com on 3 Apr 2012 at 6:55

GoogleCodeExporter commented 9 years ago
It occurs when picasa token is expired (I see the exception from picasa lib - 
like ForbiddenException). Fix is only hard coding (reset the picasa service)

Original comment by kirill.s...@gmail.com on 30 Jun 2012 at 6:35