Comments

  • Support for the v2.0 JSON API will be discontinued on September 30th, 2024, requiring updates to applications using it.

  • The blogger.comments.list method is used to retrieve a list of comments for a post, and blogger.comments.get retrieves an individual comment.

  • The Comments Resource represents a comment on a post and includes fields such as content, author information, and timestamps.

Important: We will discontinue support for the v2.0 JSON API on September 30th, 2024. To ensure continued functionality, update your applications that rely on the v2.0 JSON API to the latest API version. For the latest version, use the links in the left-side navbar.

The comments for a  Posts  Resource. 

Methods

To retrieve a list of comments for a post, use the  blogger.comments.list  method. To retrieve an individual comment, use the  blogger.comments.get  method. 

list
Retrieves the list of  Comments  for a  Post .
get
Retrieves one Comments Resource by its commentId .

Resource Representations

The Comments Resource contains the data for a comment on a post.

{
  "kind": "blogger#comment",
  "id": long 
,
  "inReplyTo": {
    "id": long 
},
  "post": {
    "id": long 
},
  "blog": {
    "id": long 
},
  "published": datetime 
,
  "updated": datetime 
,
  "selfLink": string 
,
  "content": string 
,
  "author": {
    "id": string 
,
    "displayName": string 
,
    "url": string 
,
    "image": {
      "url": string 
}
  }
}
Property Name Value Description Notes
kind
string The kind of this entry. Always blogger#comment .
id
long The identifier for this resource.
post
object Data about the post containing this comment.
post. id
long The identifier of the post containing this comment.
blog
object Data about the blog containing this comment.
blog. id
long The identifier of the blog containing this comment.
published
datetime RFC 3339 date-time when this comment was published.
updated
datetime RFC 3339 date-time when this comment was last updated.
content
string The actual content of the comment. May include HTML markup.
author
object The author of this comment.
author. id
string The identifier of the comment creator.
author. displayName
string The comment creator's display name.
author. url
string The URL of the comment creator's Profile page.
author. image
object The container for the creator's avatar URL.
author.image. url
string The URL of the comment creator's avatar image.
inReplyTo
object Data about the comment this is in reply to.
inReplyTo. id
long The identified of the parent of this comment.
Design a Mobile Site
View Site in Mobile | Classic
Share by: