Linkedin.getProfile()

Obtains the profile from the authorized user.

Usage

Hover over inputs/exits for more info.

var Linkedin = require('machinepack-linkedin');


// Obtains the profile from the authorized user.

Linkedin.getProfile({

token: 'asdf23fd23t44f2f3',

format: 'json',

}).exec({

// An unexpected error occurred.

error: function (err) {

 

},

// OK.

success: function () {

 

},

});

Inputs

token required

OAUTH2 token.

'asdf23fd23t44f2f3'
format

Sets what format of data does this call return

'json'

Exits

error

An unexpected error occurred.

success

OK.