List social comments
GET
/api/v1/social/comments
const url = 'https://digize.com/api/v1/social/comments';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/social/comments \ --header 'x-api-key: <x-api-key>'Comments on posts that went out, from every network that gives them back, newest first, with the team’s replies and the post each is on.
Needs the social:read permission.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Done
Media typeapplication/json
object
rows
required
Array<object>
object
id
required
string
accountId
required
string
accountName
required
string
network
required
string
targetId
required
string | null
postId
required
string | null
postText
required
string | null
postUrl
required
string | null
postExternalId
required
string
externalId
required
string | null
parentExternalId
required
string | null
authorName
required
string
authorHandle
required
string | null
authorAvatar
required
string | null
text
required
string
at
required
string format: date-time
hidden
required
boolean
hiding
required
A hide or show on its way to the network.
boolean
fromUs
required
boolean
state
required
string
error
required
string | null
read
required
boolean
author
required
string | null
total
required
number
Example
{ "rows": [ { "network": "facebook", "state": "received" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}