API Reference

Media.getComments

Returns all the comments for a given media file.


Syntax

array media.getComments ( int id, int moderated = false, int start = 0, int limit = 25 )

Arguments

NameTypeRequiredDefault valueDescription
idintRequirednoneThe id of the file
moderatedintOptionalfalseOnly return comments with this moderation status
startintOptional0an offset
limitintOptional25the number of items to return (default is 25, max is 100)

Sample Response

Code examples

0 comments

Be the first to comment on getComments.

Add a Comment

  • captcha