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.