This function accepts a Instagram username and returns their user_id
,
which is needed for other functions
ig_get_user_id(username, verbose = FALSE)
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? |
ig_get_user_id("justinbieber")#> Error: Status: fail #> Message: login_required