getProfile {Rlinkedin} | R Documentation |
Extract LinkedIn Profile Information
Description
getProfile
retrieve's proflie information about to yourself, your connections, or another individual.
Usage
getProfile(token, connections = FALSE, id = NULL, partner = 0)
Arguments
token |
Authorization token. |
connections |
TRUE or FALSE. If TRUE, will return profile information of your connections. FALSE is default. |
id |
Numeric ID number of a LinkedIn member. |
partner |
Indicate whether you belong to the Partnership Program. Values: 0 or 1 |
Details
There are three separate calls in getProfile
.
The first is to return profile information about yourself. The only input
into the function under this scenario is the token
.
The second is to return profile information about all your 1st degree
connections. You need to supply the token
and set the
connections
= TRUE.
The third is to return profile information about an individual based on
their id number. This can be found if you search your connections using
the getMyConnections
function.
Value
Returns a list of profile information.
Author(s)
Michael Piccirilli michael.r.piccirilli@gmail.com
See Also
searchPeople
, getMyConnections
Examples
## Not run:
profiles <- getProfile(in.auth, connections=TRUE)
## End(Not run)