Thank you infinitly. That is super. It should be clarified in the documentation maybe.
Date: Wed, 29 Oct 2008 10:37:19 -0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: [PWA API] Re: help uploading picture to picasa from my asp.net web site?Oh, sorry for the confusion. The last parameter is for the "Slug header" - that is to say, the original filename. You can make something sensible up if you don't have one (foo.jpg). It doesn't have to be an actual path to a file. It's just used as the default title and some other bits of meta-data.Cheers,-Jeff On Wed, Oct 29, 2008 at 10:15 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Yes. Thank you. But does that method not require the full path to thefile also as the last argument? which means (I think) that the filehas to be writen to disk...so I cant just pass it the file object I hold in the session as astream directly to the method (without specifying the full path to thefile)On Oct 29, 10:00 am, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>wrote: > Hi,>> The Insert() method on service takes a stream, for example:>> > http://code.google.com/apis/picasaweb/developers_guide_dotnet.html#Po... >> Cheers,> -Jeff>> On Oct 28, 6:21 pm, "[EMAIL PROTECTED]" <[EMAIL >> PROTECTED]>> wrote:>>>> > 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 -- Hide quoted text - >> - Show quoted text >> -_________________________________________________________________ Explore the seven wonders of the world http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
