ig_save: Save or Unsave a Post

Description Usage Arguments Examples

Description

This function takes the media_id of a post and adds/removes that post from the Saved folder within Instagram.

Usage

1
2
3
ig_save(media_id, verbose = FALSE)

ig_unsave(media_id, 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.

verbose

logical; do you want informative messages?

Examples

1
2
3
last_post_media_id <- ig_my_timeline(paginate = FALSE)$id[1]
save_result <- ig_save(last_post_media_id)
unsave_result <- ig_unsave(last_post_media_id)

Rinstapkg documentation built on June 8, 2019, 9:03 a.m.