5 messages in com.googlegroups.bloggerdevRe: [bloggerDev] How to get Security ...
FromSent OnAttachments
Pi08 Dec 2006 03:55 
Pete Hopkins ☠08 Dec 2006 10:14 
Pi10 Dec 2006 05:41 
Pete Hopkins ☠11 Dec 2006 16:16 
Pi11 Dec 2006 19:56 
Subject:Re: [bloggerDev] How to get Security token while commenting?
From:Pete Hopkins ☠ (phop@google.com)
Date:12/08/2006 10:14:54 AM
List:com.googlegroups.bloggerdev

On 12/8/06, Pi <thre@gmail.com> wrote:

Hello all.

I'm trying to setup a form on my comments pages on my blog so that I can let readers post comments without having to go to the comment.g page. This was easier in the old blogger, but the new one requires a security token that's generated when we go to the comment.g page (I'm guessing so, I even went thru' the generated html and found a hidden field with it. )

My question is, can I generate the security token without having to open up the comment.g page? Then all I'll have to do is make the form point to comment.do and post the comment with other parameters (blog id, post id). I already thought about making an ajax request to comment.g and parsing off the security token, but that would be a cheat, and would defeat the purpose of what I'm trying to do (ie- make commenting faster for my readers).

(Besides, wouldn't ajaxing the comment.g page amount to a cross domain ajax request? I don't want to do that either).

So yeah, is there a way to use the blogger data api to get a security token whenever I open my comments page on blogspot?

No. You cannot get a security token without loading comments.g. There is no workaround. This is on purpose.

-- Pete

Any help will be appreciated. Thanks in advance.