tcn_token | R Documentation |
Assigns a bearer token to the token object or retrieves a bearer token from the Twitter API using a Twitter apps consumer keys.
tcn_token(bearer = NULL, consumer_key = NULL, consumer_secret = NULL)
bearer |
Character string. App bearer token. |
consumer_key |
Character string. App consumer key. |
consumer_secret |
Character string. App consumer secret. |
Named list containing the token.
## Not run: # assign bearer token token <- tcn_token(bearer = "xxxxxxxx") # retrieve twitter app bearer token token <- tcn_token(consumer_key = "xxxxxxxx", consumer_secret = "xxxxxxxx") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.