Description Usage Arguments Value See Also Examples
delete_comment
, when provided with an authentication token, a file ID
and a comment ID, will let you delete a comment automatically. It's worth noting that this will
/also/ junk any replies to the initial comment.
1 | delete_comment(file_id, comment_id, ...)
|
file_id |
the ID of a file - or the full URL for accessing it via your browser.
See |
comment_id |
the ID of a comment, which can be easily retrieved with |
... |
further arguments to pass to httr's DELETE |
TRUE if the comment was successfully deleted, FALSE otherwise.
list_comments
to retrieve comment metadata (including the comment
IDs) for a file.
1 2 3 4 5 6 | ## Not run:
#Grab a list of comments in a file and delete the first one
comments <- list_comments(file_id = "f38rggruFKJad30")
delete_comment("f38rggruFKJad30", comments$items[[1]]$id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.