API Method: videos.getComments

Description

Returns video comments specified by a date, user id, or video id


Authentication

This method requires authentication without user credentials.

Required parameters

  • start_date, user_id or video_id

Optional parameters

  • end_date :
    the end date if searching for comments in a specified range

Example response

<?xml version="1.0"?>
<response status="ok" time="Wed, 08 Apr 2009 09:51:53 -0500" p="0.13329291343689">
    <video_comments count="1">
        <video_comment>
            <item_0>
                <id>1</id>
                <modified><![CDATA[2009-03-27 11:30:00]]></modified>
                <videoId>2</videoId>
                <userId>3</userId>
                <rating>0</rating>
                <subject></subject>
                <comment><![CDATA[asdfasdfafds]]></comment>
            </item_0>
            <item_1>
                <id>2</id>
                <modified><![CDATA[2009-03-27 11:30:04]]></modified>
                <videoId>2</videoId>
                <userId>3</userId>
                <rating>0</rating>
                <subject></subject>
                <comment><![CDATA[asfdasfd]]></comment>
            </item_1>
        </video_comment>
    </video_comments>
</response>