if (FALSE) {
Sys.setenv(WHAPI_TOKEN = "your_token_here")
# Single:
whapi_get_contact_profile("5581999999999")
# Mixed (number + group JID):
whapi_get_contact_profile(c("5581999999999", "1203630xxxxxx@g.us"))
}
Run the code above in your browser using DataLab