4 messages in com.googlegroups.bloggerdevCheck Login
FromSent OnAttachments
Ashutosh07 Feb 2008 04:03 
Jeff Scudder08 Feb 2008 16:02 
Ashutosh10 Feb 2008 20:30 
Jeff Scudder11 Feb 2008 17:51 
Subject:Check Login
From:Ashutosh (vyas@gmail.com)
Date:02/07/2008 04:03:51 AM
List:com.googlegroups.bloggerdev

Hi

I am new to JS API for Blogger. Currently What I did was simple went to Edit HTML for my blog and inserted the script for developer key and load data in the Head section as below:

<script type="text/javascript" src="http://www.google.com/jsapi?key=developer_key"> </script>

<script type="text/javascript"> google.load("gdata", "1"); </script>

Then I have a button which has the following code:

<script type="text/javascript"> function checkLogin() { scope = "http://www.blogger.com/feeds"; var token = google.accounts.user.checkLogin(scope);

alert(token); } </script> <input value="Work In Progress" onclick="javascript:checkLogin()" type="button"/>

My problem is that whether I am logged in to blogger or not, it always shows a BLANK alert.

Can anybody help me out on this.