What kind of error are you seeing?

On Thu Feb 19 2015 at 9:14:07 AM Oliver S <[email protected]> wrote:

> For quite some time now i have been using the Picasa Web Albums Data API v
> 1.0 in .Net now, doing something like:
>
>             PicasaService service = new PicasaService("");
>             service.setUserCredentials(username, password);
>             /////////////////cdefault album is dropBox or something////
>             Uri postUri = new Uri(PicasaQuery.CreatePicasaUri(username));
>
>
>             System.IO.FileInfo fileInfo = new System.IO.FileInfo(path);
>             System.IO.FileStream fileStream = fileInfo.OpenRead();
>
>
>             PicasaEntry entry = (PicasaEntry)service.Insert(postUri,
> fileStream, "image/jpg", name);
>             fileStream.Close();
>
> With this I have been able to upload pictures automatically to Picasa. For
> some weeks now this does not work anymore.
> Did anything change, is it no longer possible to use the version 1.0?
>
> If not, how else can I achieve this then as there is no .Net API vor v 2.0
> yet.
> So far I have tried this:
>
> Via
>
>             var stream = new FileStream("client_secret.json", FileMode.
> Open, FileAccess.Read);
>                 credential = await GoogleWebAuthorizationBroker.
> AuthorizeAsync(
>                     GoogleClientSecrets.Load(stream).Secrets,
>                     new[] { "https://picasaweb.google.com/data/"; },
>                     "user", CancellationToken.None);
>
> I obtained an access token. Then I tried to use a WebRequest with the
> resulting object credential as Credentials, but then I get an error.
>
> So thanksful for your help!
>
> Greetings
> Oliver
>
> --
> 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.
>

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