NAME

API::Instagram::Media::Comment - Instagram Media Comment Object

VERSION

version 0.013

SYNOPSIS

        print $comment->text . "\n-\n";
        print "By %s, at year %d\n", $comment->from->full_name, $comment->created_time->year;

DESCRIPTION

See http://instagr.am/developer/endpoints/comments/.

ATTRIBUTES

id

Returns comment id.

from

Returns commenter API::Instagram::User object.

text

Returns the text commented.

created_time

Returns the comment date in a Time::Moment object.

media

Returns the media where the comment was posted.

METHODS

remove

        $comment->remove;

Removes the comment either on the authenticated user's media object or authored by the authenticated user.

AUTHOR

Gabriel Vieira <gabriel.vieira@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Gabriel Vieira.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.