# oauth_app

0th

Percentile

##### Create an OAuth application.

The OAuth framework doesn't match perfectly to use from R. Each user of the package for a particular OAuth enabled site must create their own application. See the demos for instructions on how to do this for linkedin, twitter, vimeo, facebook, github and google.

##### Usage
oauth_app(appname, key, secret = NULL)
##### Arguments
appname
name of the application. This is not used for OAuth, but is used to make it easier to identify different applications and provide a consistent way of storing secrets in environment variables.
key
consumer key (equivalent to a user name)
secret
consumer secret. This is equivalent to a password and should not be stored in publicly visible code. As a convenient shortcut, if secret is missing, we'll look in the environment variable APPNAME_CONSUMER_SECRET. Use NULL

Other OAuth: oauth1.0_token; oauth2.0_token; oauth_endpoint; oauth_service_token

• oauth_app
##### Examples
# These work on my computer because I have the right envvars set up
oauth_app("my_app", "mykey", NULL)