getProfile function

Extract LinkedIn Profile Information

Extract LinkedIn Profile Information

getProfile retrieve's proflie information about to yourself, your connections, or another individual.

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

Returns

Returns a list of profile information.

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.

Examples

## Not run: profiles <- getProfile(in.auth, connections=TRUE) ## End(Not run)

Author(s)

Michael Piccirilli michael.r.piccirilli@gmail.com

See Also

searchPeople, getMyConnections

  • Maintainer: Michael Piccirilli
  • License: GPL-2
  • Last published: 2016-10-30