LinkedIn

FREE
By dimashirokov
Updated 4 months ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

LinkedIn API Documentation

Enable LinkedIn sharing on your app and pull company data.

View API Details
POSTaddCommentOnCompanyBehalf
POSTcheckCompanySharing
POSTcheckMemberIsCompanyAdministrator
POSTcreateCompanyShare
POSTcreateSharedContent
POSTgetAccessToken
POSTgetCompaniesWhereUserAdministrator
POSTgetCompanyFollowers
POSTgetCompanyHistoricalFollowerStatistics
POSTgetCompanyHistoricalStatusUpdateStatistics
POSTgetCompanyPageStatistics
POSTgetCompanyProfile
POSTgetCompanyUpdates
POSTgetProfileData
POSTgetSingleCompanyUpdateComments
POSTgetSingleCompanyUpdate
POSTgetSingleCompanyUpdateLikes
POSTaddCommentOnCompanyBehalf

This call will allow you to submit a comment on a company update on behalf of a company, rather than a member. The comment is submitted for the update identified by updateKey under the company identified by companyId in the request.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
accessTokenSTRING
REQUIREDLinkedIn accessToken.
updateKeySTRING
REQUIREDThe update identified.
commentSTRING
REQUIREDA comment by the company to associated with the share. If none of the above content parameters are provided, the comment must contain a URL to the content you want to share. If the comment contains multiple URLs, only the first one will be analyzed for content to share.
companyIdSTRING
REQUIREDValid Company id.
Code Snippet
unirest.post("https://LinkedIndimashirokovV1.p.rapidapi.com/addCommentOnCompanyBehalf")
.header("X-RapidAPI-Host", "LinkedIndimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://LinkedIndimashirokovV1.p.rapidapi.com/addCommentOnCompanyBehalf
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://LinkedIndimashirokovV1.p.rapidapi.com/addCommentOnCompanyBehalf")
.header("X-RapidAPI-Host", "LinkedIndimashirokovV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication