inOAuth creates a long-lived OAuth access token that enables R to make authenticated calls to the LinkedIn API. This function relies on the httr package to create the OAuth token.
consumer_key: Consumer API Key of your application.
consumer_secret: Consumer Secret Key of your application.
Returns
Authorization token to be used in other functions.
Details
There are two ways to create an authenticated connection. One is to use the default credentials supplied in the package. The second is to obtain your own credentials and using them as inputs into the function. Examples of both are shown below.
## Not run:## Default Consumer and Secret Key for the Rlinkedin package:in.auth <- inOAuth()## Use your own Consumer and Secret Key:in.auth <- inOAuth("your_app_name","your_consumer_key","your_consumer_secret")## End(Not run)