client_as | R Documentation |
client_as()
sets up the default client used by rtweet API calls with PKCE. See rtweet_user()
to learn more about the three
available authentication options.
client_as(client = NULL)
client |
One of the following options:
|
Invisibly returns the previous authentication mechanism.
Other client:
client_get()
,
client_has_default()
,
client_save()
## 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
client_as()
client_list()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.