Description Usage Arguments Details Value Author(s) See Also Examples
This function uses an existing httr OAuth Token in the Twitter session
1 | use_oauth_token(twitter_token)
|
twitter_token |
An httr Token object |
This function is an escape hatch for nonstandard OAuth scenarios. Use setup_twitter_token unless it doesn't work for your use case.
This is called for its side effect
Anand Patil
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(httr)
library(twitteR)
token <- Token2.0$new(
params = list(as_header=TRUE),
app = oauth_app("fun.with.twitter", "no.key", "no.secret"),
endpoint = oauth_endpoints("twitter"),
credentials = list(access_token = "AAAAAAAAAAAAAAAAAAA%3DAAAAAAAAAAAAAA"),
cache = FALSE
)
use_oauth_token(token)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.