2 messages in com.googlegroups.bloggerdevBlog Import + Browser Based Authentic...
FromSent OnAttachments
XP14 Mar 2008 06:49 
Jeff Scudder20 Mar 2008 09:02 
Subject:Blog Import + Browser Based Authentication
From:XP (rake@gmail.com)
Date:03/14/2008 06:49:41 AM
List:com.googlegroups.bloggerdev

I am using the java api to fetch the blogs ( private and public ) for a given user. It was working as long as I passed username/password in the .setUserCredentials function. But when I switch to browser based authentication, I am not able to get any data ( NullPointerException: http://groups.google.co.in/group/google-contacts-api/browse_thread/thread/d086d200c98180c3?hl=en ).

I am fetching the list of blogs for the given user via this URL : http://www.blogger.com/feeds/default/blogs and the code to generate the authentication URL

String requestUrl = AuthSubUtil.getRequestUrl("http://localhost", "http://www.blogger.com/feeds/default/blogs", false, true);

( I tried with "http://www.blogger.com/feeds/default/blogs" , "http:// www.blogger.com/feeds/default/" and "http://www.blogger.com/feeds/" ). I am able to get the usertoken which I converted to session token. But using that session token results in NullPointer.