Add this code in the function which you call from authentication(function)


function onLinkedInAuth()
IN.API.Profile(“me”).fields(“id”,”firstName”, “lastName”, “industry”, “numConnections”,”educations”,”location”,”headline”,”publicProfileUrl”).result(CurrentStatus);

function CurrentStatus(profiles) {
member = profiles.values[0];

//This function updates the status
IN.API.Raw(“/people/~/current-status”) // Update (PUT) the status
.body(JSON.stringify(“linked in status update via api again”))


Deepak Sharma help me in finding this function.

To change current status of linkedin from your own site.

Leave a Reply

Your email address will not be published.