Description Usage Arguments Value Examples
View source: R/api_credentials_to_token.R
api_crendentials_to_token takes Twitter API credentials and returns an API token. This has to be entered into the token argument when running the get_user_network() function.
1 2 3 4 5 6 7 | api_credentials_to_token(
app_name,
consumer_key,
consumer_secret,
access_token,
access_secret
)
|
app_name |
Twitter app name. |
consumer_key |
Twitter consumer key. |
consumer_secret |
Twitter consumer secret. |
access_token |
Twitter access token. |
access_secret |
Twitter access secret. |
Twitter API token.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
ex_app_name = "application_name"
ex_consumer_key = ####
ex_consumer_secret = ####
ex_access_token = ####
ex_access_secret = ####
api_credentials_to_token(app_name = ex_app_name, consumer_key = ex_consumer_key,
consumer_secret = ex_consumer_secret, access_token = ex_access_token,
access_secret = ex_access_secret)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.