ThNK YOU FOR YOUR REPLY. Ok. Is there an Insert method that does not need a Filepath argument? because as you suggest.... I could download 1st to my site and then upload to your site but it would be best if I even did not need to write the fil to disk as I currently download the file and keepit in a session variable, I could then just supply the stream to the insert method...
On Oct 28, 6:01 pm, "Jeff Fisher (Google)" <[EMAIL PROTECTED]> wrote: > Alas, there is no way of doing a form upload with the PWA API like you > can with the YouTube browser-based uploader. You'd have to POST the > photos to your ASP server and then upload them to Picasa. > > Cheers, > -Jeff > > On Oct 28, 5:31 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > wrote: > > > > > I am studying the way to integrate youtube and picasa into my web > > application. > > With youtube, in the sample asp.net project, I found a easy way to > > upload a video to youtube by posting a form to a special URL which is > > generated by this code: > > GAuthSubRequestFactory authFactory = new > > GAuthSubRequestFactory(YouTubeService.YTService, "TesterApp"); > > > YouTubeService service = new > > YouTubeService(authFactory.ApplicationName, > > "clientID", > > "devweloper key" > > ); > > > authFactory.Token = HttpContext.Current.Session["token"] > > as string; > > service.RequestFactory = authFactory; > > FormUploadToken token = service.FormUpload(entry); > > HttpContext.Current.Session["form_upload_url"] = > > token.Url; > > > the key here is the URL to post the form to which is suplied by the > > "service.FormUpload(entry);" line and gives a url something like this: > > "http://uploads.gdata.youtube.com/action/FormDataUpload/someencode > > information here and the return URL to my website etc..." > > > the problem with picasa is that there is no "FormUpload(entry);" > > method in the PicasaService namespace. > > > So please I am not an expert but would love to make this work. > > How can a user of my site upload a picture to Picasa but right from > > within my site???- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Picasa-Data-API?hl=en -~----------~----~----~----~------~----~------~--~---
