Comments
Get Comments with Social ID
Get comments on a post that was not published via Ayrshare
GET
/
comments
/
:id
Available on Premium, Business, Enterprise plans.
Get comments on a post that was not published via Ayrshare. If the post was published via Ayrshare, use this endpoint.
A social id, which is the original post ID from the social network, is required to retrieve the comments. The social id can be retrieved via the Get All Post History endpoint.
- Comment data is refreshed every 10 minutes.
- Facebook replies to replies have the same parent id regardless of nesting.
Header Parameters
Authorization
string
requiredFormat:
Authorization: Bearer API_KEY
. See API overview for more information.Profile-Key
string
Profile Key of a user profile.
Path Parameters
id
string
The social id of the post
Query Parameters
platform
string
requiredValues: facebook
, instagram
, linkedin
, tiktok
, twitter
, youtube
searchPlatformId
boolean
requiredAlways equals true