Usage of posts/{id}/comments

Discussion

Gets the comments on the posts identified in id, regardless of the type of the posts.

This method is meant for cases when you are unsure of the type of the post id provided. Generally, this would be due to obtaining the post id directly from a user.


Parameters

  • id – A single primary key identifier or a vectorized, semicolon-delimited list of identifiers.
    • This is a vectorized parameter, multiple ids can be sent a single request if delimited with a semi-colon
    • string
  • fromdate – Unix timestamp of the minimum creation date on a returned item.
    • unix epoch date, range [0, 253,402,300,799]
  • max – Maximum of the range to include in the response according to the current sort.
    • integer or unix epoch date
  • min – Minimum of the range to include in the response according to the current sort.
    • integer or unix epoch date
  • order – How the current sort should be ordered.
    • one of desc (default), or asc
  • page – The pagination offset for the current collection. Affected by the specified pagesize.
    • 32-bit signed integer
  • pagesize – The number of collection results to display during pagination. Should be between 0 and 100 inclusive.
    • 32-bit signed integer
  • sort – How a collection should be sorted.
    • one of creation (default), or votes
  • todate – Unix timestamp of the maximum creation date on a returned item.
    • unix epoch date, range [0, 253,402,300,799]

Try it