auth_as | R Documentation |
auth_as()
sets up the default authentication mechanism used by all
rtweet API calls. See rtweet_user()
to learn more about the three
available authentication options.
auth_as(auth = NULL)
auth |
One of the following options:
|
Invisibly returns the previous authentication mechanism.
auth_sitrep()
to help finding and managing authentications.
Other authentication:
auth_get()
,
auth_save()
,
auth_setup_default()
,
rtweet_user()
## Not run:
# Use app auth for the remainder of this session:
my_app <- rtweet_app()
auth_as(my_app)
# Switch back to the default user based auth
auth_as()
# Load auth saved by auth_save()
auth_as("my-saved-app")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.