Rinstapkg (version 0.1.0)

ig_get_media_info: Get Media Info

Description

This function returns the details of a single post. It contains the same information about a post that is retrieved by many of the feed functions.

Usage

ig_get_media_info(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

Run this code
# NOT RUN {
bieber_user_id <- ig_get_user_id("justinbieber")
bieber_feed <- ig_get_user_feed(bieber_user_id, paginate = FALSE)
most_recent_post_info <- ig_get_media_info(media_id = bieber_feed$id[1])
# }

Run the code above in your browser using DataLab