inOAuth {Rlinkedin} | R Documentation |
Create OAuth token to LinkedIn R session
Description
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.
Usage
inOAuth(application_name = NULL, consumer_key = NULL,
consumer_secret = NULL)
Arguments
application_name |
Name of your application. |
consumer_key |
Consumer API Key of your application. |
consumer_secret |
Consumer Secret Key of your application. |
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.
Create your own application here: https://developer.linkedin.com/
Value
Authorization token to be used in other functions.
Author(s)
Michael Piccirilli michael.r.piccirilli@gmail.com
See Also
Examples
## 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)
[Package Rlinkedin version 0.2 Index]