Description Usage Arguments Examples
This function checks whether a supplied user_id fits the pattern of one, mostly to alert users when supplying a username instead of an id.
1 | check_user_id(user_id)
|
user_id |
numeric; the unique id to identify an Instagram user which can be
found in the |
1 2 3 4 5 6 | # check with a real user id
bieber_user_id <- 6860189 # returned using ig_get_user_id("justinbieber")
check_user_id(bieber_user_id)
# this will return a warning that we need a User Id, not a Username
#check_user_id("justinbieber")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.