This function returns the details of a user's profile based on the supplied username (omitting the @ symbol)

ig_get_user_profile(username, verbose = FALSE)

Arguments

username

character; the username of the Instagram user. Omit the "@" symbol that is typically used when referencing another user

verbose

logical; do you want informative messages?

Examples

# get Jusin Bieber's profile and to see how many followers he has bieber_follower_cnt <- ig_get_user_profile("justinbieber")$follower_count
#> Error: Status: fail #> Message: login_required