Get Comments
Get the comments for a given top-level post ID
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: Bearer API_KEY
. See API overview for more information.Path Parameters
Ayrshare Post ID from the /post endpoint.