Description Usage Arguments Examples
View source: R/setup_twitteR.R
This function allows you to link your twitter to the twitter API If you don't have twitter api keys, go to https://developer.twitter.com/ and create an account. Then, go to create an app, fill out the form, and you should be able to access your very own keys and tokens.
1 2 3 4 5 6 | setup_twitteR(
api_key = NULL,
api_secret = NULL,
token = NULL,
token_secret = NULL
)
|
api_key |
String. Defaults to NULL. User's api key if they don't wish to use ours |
api_secret |
String. Defaults to NULL. User's secret api if they don't wish to use ours |
token |
String. Defaults to NULL. User's token if they don't wish to use ours |
token_secret |
String. Defaults to NULL. User's secret token if they don't wish to use ours |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.