1 message in com.googlegroups.bloggerdevRe: [bloggerDev] Re: Uploading images...
FromSent OnAttachments
Cameron Hinkle19 Feb 2008 12:20 
Subject:Re: [bloggerDev] Re: Uploading images to blogger posts via API (Zend_Gdata)
From:Cameron Hinkle (gold@gmail.com)
Date:02/19/2008 12:20:52 PM
List:com.googlegroups.bloggerdev

You should be able to use the ClientLogin authentication type. See http://code.google.com/apis/accounts/AuthForInstalledApps.html#ClientLogin. It's meant for installed applications, but I don't see why it wouldn't work if you're doing a web app (I'm not sure which type your using, but ClientLogin should work either way). Since you're working on something that is going to be creating blog posts, I assume you'll have access to the user's username and password. The user doesn't have to click anything if you use the ClientLogin interface, you just authenticate them by putting their username and password into a POST request to Google with some other parameters. Hope that helps.

Cameron

On Feb 18, 2008 4:24 AM, stanza <stan@gmail.com> wrote:

1. Picasa API requires me to specify the album to which the photo will be published. Which album would that be? the one titled the same as the blog? can i trust this to be consistent? isn't there a blogger API getPicaseAlbum() or something similiar? 2. In order to post photos to picasa via API, the authenticated user must explicitly click the "I Accept" button on the picasa web interface before they can upload photos, whereas if they worked on the blogger web interface, they could have uploaded photos without ever agreeing to any picasa terms. is there any solution to this weird requirement, if I want the user to work solely though API?

Best regards, Shahar

-- http://www.cameronhinkle.com/

"As systems developers, we have selected ourselves into the world of cool, calming, rational thought. Either our code compiles, or it doesn't. The compiler is never happy for us, nor mad at us. Perhaps this is why we tend to apply logic as our main device for resolving disputes." -Peopleware, 2nd Edition

"Babies...before we're done here...y'all be wearing gold-plated diapers." -Rock Legend Bruce Dickinson