auth_save | R Documentation |
Use auth_save()
with auth_as()
to avoid repeatedly entering app
credentials, making it easier to share auth between projects.
Use auth_list()
to list all saved credentials.
auth_save(auth, name)
auth_list()
auth |
One of |
name |
Name of the file to use. |
The tokens are saved on tools::R_user_dir("rtweet", "config")
.
Invisible the path where the authentication is saved.
auth_sitrep()
to help finding and managing authentications.
Other authentication:
auth_as()
,
auth_get()
,
auth_setup_default()
,
rtweet_user()
## Not run:
# save app auth for use in other sessions
auth <- rtweet_app()
auth_save(auth, "my-app")
# later, in a different session...
auth_as("my-app")
# Show all authentications stored
auth_list()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.