Description Usage Arguments Details Value See Also Examples
Generate twitter tokens
1 | tw_gen_token(appname, key, secret = NULL)
|
appname |
Character scalar. The name of your twitter app. |
key |
Character scalar. Your API key provided by twitter. |
secret |
Character scalar. Your API secret provided by twitter. |
This function is a wrapper of httr::oauth_app()
. To be able to use most of
twitter's API service you need to sign-in with your twitter account at
https://apps.twitter.com/]
A Token1.0 reference class (RC) object.
Other API functions: tw_api_get_followers_ids
,
tw_api_get_followers_list
,
tw_api_get_friends_ids
,
tw_api_get_search_tweets
,
tw_api_get_statuses_sample
,
tw_api_get_statuses_user_timeline
,
tw_api_get_trends_place
,
tw_api_get_users_search
,
tw_api_get_users_show
,
tw_api_trends_available
1 2 3 4 5 | ## Not run:
tokens <- tw_gen_token('mytwitterapp','xxxxxxxx','yyyyyyyy')
tw_api_get_usr_profile('gvegayon',tokens)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.