Rinstapkg (version 0.1.0)

ig_edit_media_caption: Edit a Post's Caption

Description

This function can be used to edit the caption of a post that has already been made.

Usage

ig_edit_media_caption(media_id, caption_text, verbose = FALSE)

Arguments

media_id

numeric; the unique id to identify a post which can be found in the id, not the pk field, of posts returned via many of the functions retrieving feeds.

caption_text

character; the text below a post's image or video.

verbose

logical; do you want informative messages?

Examples

Run this code
# NOT RUN {
last_post_media_id <- ig_my_timeline(paginate = FALSE)$id[1]
edit_result <- ig_edit_media_caption(last_post_media_id, 
                                     caption_text = "New, Edited Caption")
# }

Run the code above in your browser using DataLab