client_save | R Documentation |
Use client_save()
with client_as()
to avoid repeatedly entering app
credentials, making it easier to share auth between projects.
Use client_list()
to list all saved credentials.
client_save(client)
client_list()
client |
A client |
The tokens are saved on the clients folder in tools::R_user_dir("rtweet", "config")
.
Invisible the path where the client is saved.
auth_sitrep()
to help finding and managing authentications.
Other client:
client_as()
,
client_get()
,
client_has_default()
## Not run:
# save app client for use in other sessions
client <- rtweet_client()
client_save(client)
# later, in a different session...
client_as("my-app")
# Show all authentications stored
client_list()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.