Imgur::API::Endpoint::Comment
Access to the imgur Comment API Endpoint. See: https://api.imgur.com/endpoints/comment
Get information about a specific comment.
comment REQUIRED Comment
Creates a new comment, returns the ID of the comment.
parent_id OPTIONAL The ID of the parent comment, this is an alternative method to create a reply.
comment REQUIRED The comment text, this is what will be displayed
image_id REQUIRED The ID of the image in the gallery that you wish to comment on
Delete a comment by the given id.
Get the comment with all of the replies for the comment.
Create a reply for the given comment.
Vote on a comment. The {vote} variable can only be set as "up" or "down".
vote REQUIRED Vote
Report a comment for being inappropriate.
4 REQUIRED
2 REQUIRED
1 REQUIRED
3 REQUIRED
5 REQUIRED
reason OPTIONAL An integer representing the reason for the report Value Description 1 Doesn't belong on Imgur 2 Spam 3 Abusive 4 Mature content not marked as mature 5 Pornography
7 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
To install Imgur::API, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imgur::API
CPAN shell
perl -MCPAN -e shell install Imgur::API
For more information on module installation, please visit the detailed CPAN module installation guide.