GET
/
comments
/
:id
Available on Premium, Business, Enterprise plans.

Get the comments for a given top-level post ID using tghe Comments API. Available for Facebook Pages, Instagram, LinkedIn, Reddit, TikTok, Twitter, and YouTube.

Replace :id with the post top level Ayrshare Post ID returned from the /post endpoint.

https://api.ayrshare.com/api/comments/Ut1fWU6XkqlMayHGnJZ

Please see the Response 200 of Post a Comment for an example of the ID Ut1fWU6XkqlMayHGnJZ

  • Comment data is updated every 10 minutes for all platforms, with the exception of Twitter. Due to restrictions imposed by the Twitter API, the comment data for Twitter is refreshed using an exponential backoff strategy, meaning the intervals between updates gradually increase over time.

  • Facebook replies to replies have the same parent id regardless of nesting.

  • Retrieve LinkedIn replies to comments by using the commentID with the Get Comments with Social Comment ID endpoint.

Header Parameters

Authorization
string
required
API Key of the Primary Profile.

Format: Authorization: Bearer API_KEY
Profile-Key
string
Profile Key of a User Profile.

Format: Profile-Key: PROFILE_KEY

Path Parameters

id
string

Ayrshare Post ID from the /post endpoint.