i'm experiencing the same problem. to be certain that it wasn't the ruby 
gem i was using, i went here: https://developers.google.com/oauthplayground/

to replicate: 

   - select picasa api
   - set scope to https://picasaweb.google.com/data/all
   - get api token
   - use "get metadata" request (this step works fine), copy the response 
   xml
   - use "update metadata" request, paste in response xml, change 
   <gphoto:timestamp> tag (i tried adjusting a single digit to make sure my 
   issue wasn't an improper timestamp)
   - response xml has the same timestamp as before (it does not update)

note that this process works fine for updating other fields (tested with 
changing <title>, updates as expected)


does this mean that the API does not allow updates to timestamps? i can't 
find any place in the docs that suggests this, but it seems to be the case.

On Wednesday, April 22, 2015 at 8:36:34 PM UTC-4, Robert Gelb wrote:
>
> Code below in c# and I am trying to update the timestamp of the photo
>
> ulong timestamp = 
> Convert.ToUInt64(picasaEntry.GetPhotoExtensionValue("timestamp"));
>
> // deduct 9 hours
> DateTime dt = FromUnixTime(pa.Timestamp).AddHours(-9);
> picasaEntry.SetPhotoExtensionValue("timestamp", 
> Convert.ToString(ToUnixTime(dt)));
>                     
> var updatedEntry = (PicasaEntry) picasaEntry.Update();
>
> I then check the updated piece and nothing is updated.
> Am I missing something simple?
>

-- 
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 https://groups.google.com/group/google-picasa-data-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to