Description Usage Arguments Examples
This function takes the media_id of a post as well as one or more comment_ids 
and then deletes all of those comments
1  | ig_comment_delete_bulk(media_id, comment_id, verbose = FALSE)
 | 
media_id | 
 numeric; the unique id to identify a post which can be 
found in the   | 
comment_id | 
 numeric; the unique id to identify a post which can be 
found in the   | 
verbose | 
 logical; do you want informative messages?  | 
1 2 3 4 5 6 7 8 9 10  | last_post_media_id <- ig_my_timeline(paginate = FALSE)$id[1]
comment_result1 <- ig_comment(last_post_media_id, 
                             comment_text = "New Comment #1")
comment1_media_id <- comment_result1$comment$media_id 
comment_result2 <- ig_comment(last_post_media_id, 
                             comment_text = "New Comment #2")
comment2_media_id <- comment_result2$comment$media_id                               
deletion_result <- ig_comment_delete(last_post_media_id, 
                                     c(comment1_media_id, 
                                       comment2_media_id))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.