Edit Comments on Blogger

Thursday, May 25, 2006

While, doing some experiments with Blogger, I just found a way to edit user comments. I found this method when I analyzed the URL of delete comment and that of edit post and found them similar.

Here's a sample delete comment URL:
http://www.blogger.com/delete-comment.g?blogID=12345678&postID=123456789012345678

And this is an edit post URL:
http://www.blogger.com/post-edit.g?blogID=12345678&postID=123456789012345678
The only difference between the two URLs is the page, delete-comment.g & post-edit.g. I decided to pass the variables of delete comment, blogID and postID to the page post-edit.g page. The result was that I got the comment text on the 'Edit Posts' screen. The next step to modify the comments and push the 'Publish Post' button. Task Accomplished... Comments Modified...


Steps for Modifying Comments:
  • Open the comments page of the post.
  • Right-click on the delete comment button and select 'Copy Shortcut'.
  • Paste the URL on a browser window.
  • Replace 'delete-comment.g' with 'post-edit.g'.

P.S.: Please do keep posting comments on my blog, I won't modify them.

5 comments:

Achal Aggarwal said...

its gud.. nice work.. just a simple thing.. cool..

Achal Aggarwal said...

has been posted before... anyways.. nice find

Gurpreet Singh Modi said...

by achal-"has been posted before"

n i thought i was the first one to discover this...

Anonymous said...

It didnt work for me, i got "We're sorry, but we were unable to complete your request". Is there any other way to edit the comments plz tell me. Thanking u.

Gurpreet Singh Modi said...

@Harihara

This method has been blocked by Blogger in its new version.

Post a Comment