client_has_default | R Documentation |
You'll need to run this function once per computer so that rtweet can use your client.
client_has_default()
client_setup_default()
It will use the current default account for rtweet and save them as "rtweet". If a default is found it will use it instead.
client_setup_default()
: Invisibly returns the previous authentication mechanism.
client_has_default()
: A logical value TRUE
if there is a default authentication.
Other client:
client_as()
,
client_get()
,
client_save()
## Not run:
if (!client_has_default()) {
client_setup_default()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.