2 messages in com.googlegroups.bloggerdevRe: [bloggerDev] Blogger Version Comp...
FromSent OnAttachments
Tom21 Dec 2006 20:08 
Pete Hopkins ☠29 Jan 2007 10:39 
Subject:Re: [bloggerDev] Blogger Version Compatibility Status?
From:Pete Hopkins ☠ (phop@google.com)
Date:01/29/2007 10:39:53 AM
List:com.googlegroups.bloggerdev

Sorry for the late reply, I just found this again in my e-mail.

On 12/21/06, Tom <klen@gmail.com> wrote:

I noticed the following change in the Blogger Data API:

"The current version of Blogger now also supports Google's Account Authentication for Installed Applications system (also known as ClientLogin), so if your client is a desktop application, it should support that authentication system in order to work with both versions of Blogger."

source: http://code.google.com/apis/gdata/blogger.html

Not sure when this happened but it must have been relatively recently. However, in trying to post to an old account using this method just now, I'm getting a "404 resource not found" response. Meanwhile, I am still able to post successfully to an old account using basic authentication.

Is this problem still occuring?

Questions:

1. Is ClientLogin Account Authentication now in fact enabled for old accounts? (If so, I'll start looking for the bug in my code.)

Yes, you can use Google Accounts' ClientLogin with an old Blogger account, and you'll get a token that can be used with old Blogger.

2. When will basic authentication be disabled for old accounts?

Roughly a few months. At some point we will turn off the old Blogger infrastructure, which will eliminate support for Basic auth, the Blogger 2.0 API, and the Atom 0.3 API. We will still host old Blogger blogs, but for new API posts, the authors will have to switch to new Blogger.

3. Is there a way to programmatically distinguish between old and new accounts? I expect this distinction will be moot once ClientLogin Account Authentication is functional for old accounts. Still, if there were a more reliable way to distinguish, it might help simplify some coding issues.

The docs note that you can try POSTing to a feed without sending authentication, and see what WWW-Authenticate headers come back. If it's GoogleLogin and BASIC, that's old Blogger. GoogleLogin and AuthSub is new Blogger.

But unless you're writing a web-based app (which needs to use AuthSub), you shouldn't have to worry about the distinction.

4. Now that Blogger is out of beta, can we expect the url to which http requests are posted to be stable as http://www2.blogger.com?

No. You should always GET/POST using www URLs, which will send temporary redirects to www2 for as long as that is necessary.

Again, sorry for the (very) late response to these questions.

-- Pete

If there is a page answering these questions, I'll be happy to be directed there.

In the meantime, anyone who has tested out my Greqo library for PHP, be advised that it is broken until I can resolve these issues. I apologize for any inconvenience.