Thanks, I will take a look.
On Friday, 29 May 2015 15:29:43 UTC+1, Francesco Defazio wrote:
>
> Hi all, since 27th May 2015 I'm not able to upload pictures using picasa
> Api.
> I get always the same error:
> Execution of authentication request returned unexpected result: 404
>
> The crediantials it wasn't change and by browser I can login without
> problems.
> My application running succesfully since October 2011.
>
> The code of my application is:
> Dim reqSet As New Google.GData.Client.RequestSettings("GM")
> Dim picasarequest As Google.Picasa.PicasaRequest
> Dim service As New Google.GData.Photos.PicasaService("")
> reqSet.Timeout = 600000
> picasarequest = New Google.Picasa.PicasaRequest(reqSet)
> service = picasarequest.Service
> service.setUserCredentials(PicasaUserName, PicasaPassword)
> reqSet = Nothing
> picasarequest = Nothing
>
> Dim feed As Google.GData.Photos.PicasaFeed
> Dim entry As Google.GData.Photos.PicasaEntry
> Dim postUri As Uri
> Dim album As Google.GData.Photos.AlbumAccessor
> Dim StartIndex As Integer = 1
> Dim AlbumId As String = ""
>
>
> Dim newEntry As New Google.GData.Photos.AlbumEntry
> Dim feedUri As Uri
> Dim AlbumSummary As String
>
> AlbumSummary = GetAlbumSummary(AlbumNameCurrent)
> newEntry.Title.Text = AlbumNameCurrent
> newEntry.Summary.Text = AlbumSummary
> album = New
> Google.GData.Photos.AlbumAccessor(newEntry)
>
> If PhotoTypeCurrent = enPhotoType.Shipment Then
> album.Access = "private"
> Else
> album.Access = "public"
> End If
>
> feedUri = New
> Uri(Google.GData.Photos.PicasaQuery.CreatePicasaUri(PicasaUserName))
> album = New
> Google.GData.Photos.AlbumAccessor(service.Insert(feedUri, newEntry))
>
> I got the error in the last operation:
> album = New
> Google.GData.Photos.AlbumAccessor(service.Insert(feedUri, newEntry))
>
> I also get the error with: feed = service.Query(query)
>
> Dim query As Google.GData.Photos.AlbumQuery
> Dim feed As Google.GData.Photos.PicasaFeed
>
> query = New
> Google.GData.Photos.AlbumQuery(Google.GData.Photos.PicasaQuery.CreatePicasaUri(PicasaUserName))
> query.StartIndex = 1
> query.NumberToRetrieve = 1000
> feed = service.Query(query)
>
> Thank in advance
>
>
>
>
>
>
>
--
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.