Skip to content

Comments ​

Six tools for managing blog comments: listing, fetching, approving, marking as spam, stripping content, and deleting.

blogger_list_comments ​

List comments on a blog or on a single post, with filters for status, date range, and pagination.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringNoID of a specific post to scope comments to. Omit to list all blog comments.
max_resultsintegerNoMaximum number of results.
page_tokenstringNoToken from a previous listing to fetch the next page.
statusstringNoFilter by status, e.g. LIVE, SPAM.
viewstringNoAccess level: READER, AUTHOR, or ADMIN.
start_datestringNoStart date filter (inclusive).
end_datestringNoEnd date filter (inclusive).
fetch_bodiesbooleanNoInclude comment body in the response.

blogger_get_comment ​

Get a comment by its ID.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringYesID of the post the comment belongs to.
comment_idstringYesID of the comment.

blogger_approve_comment ​

Approve a comment, marking it as visible.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringYesID of the post the comment belongs to.
comment_idstringYesID of the comment.

blogger_delete_comment ​

Delete a comment.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringYesID of the post the comment belongs to.
comment_idstringYesID of the comment.

blogger_mark_comment_spam ​

Mark a comment as spam.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringYesID of the post the comment belongs to.
comment_idstringYesID of the comment.

blogger_remove_comment_content ​

Remove a comment's content while keeping the comment itself.

Parameters ​

ParameterTypeRequiredDescription
blog_idstringYesID of the blog.
post_idstringYesID of the post the comment belongs to.
comment_idstringYesID of the comment.