Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Following is a sample REST request that can be handled by the companyLookup operation.

Code Block
languagehtml/xml
titleSample request for companyLookup
{
"accessToken":"AQUTf-7ouUMipARXfNVowT6ikytQsmVdf3VIo648_iksSI4uBeAv5aqlmpoL0_m4nZ3bG8nyK7wqZRyJKqLTsOAHLDnGpqGf0tFb8F4pSy_dtbJoaFGuIdoD8PjipKpyIorZXgR1wjpyynowzEJ9YX9Poj6AXbRWTRsnKpRNZzwEQB4YAv8",
"apiUrl":"https://api.linkedin.com",
"companyId":"162479",
"universalName":"linkedin",
"emailDomains":"apple.com",
"companyAdmin":"true",
"fieldSelectors":"id"
}

Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages

...

Use the Company Search API to find companies using keywords, industry, or location. It returns a collection of matching companies. Each entry can contain much of the information available on the company page

Table of Contents
maxLevel3
typeflat

Overview

The following operations allow you to work with Companies. Click an operation name to see details on how to use it.

For a sample proxy service the illustrates how to work with companies, see Sample configuration. 

Operation

Description

companyLookup

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed

followCompanyPage

Members can follow companies to receive updates for company activities such as new job postings, employment changes and new products

addComment

The Company add comment API provides the ability to add comment for a particular company page

searchCompanyPage

Use the Company Search API to find companies using keywords, industry, or location. It returns a collection of matching companies

checkShareCheck the member has admin privileges or not.
getAdditionalProfileInfoThe Company Statistics API provides the ability to retrieve profile details for a particular company page
getcommentsForSpecificUpdateThe Company Statistics API provides the ability to retrieve comments for a particular company page
getCompanyProfileThe Company Profile API Retrieves and displays one or more company profiles
getCompanySpecificUpdateThe Company Statistics API provides the ability to retrieve specific updates for a particular company page
getCompanyUpdateThe Company Statistics API provides the ability to retrieve updates for a particular company page
getfollowersThe Company Statistics API provides the ability to retrieve no of followers for a particular company page
getHistoricalFollowersThe Company Statistics API provides the ability to retrieve historical followers for a particular company page
gethistoricalStatusUpdateThe Company Statistics API provides the ability to retrieve historical status update for a particular company page
getLikesForCompanyUpdateThe Company Statistics API provides the ability to retrieve likes for status update a particular company page
listCompanyByMemberThe Company Profile API Retrieves and displays members of company profiles
searchCompanyPageThe Company Search API enables search across company pages

Operation details

This section provides details on each of the operations.

...

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed.

Code Block
languagehtml/xml
titlecompanyLookUp
<linkedin.companyLookup>
	<companyId>{$ctx:companyId}</companyId>
    <universalName>{$ctx:universalName}</universalName>
    <emailDomains>{$ctx:emailDomains}</emailDomains>
    <companyAdmin>{$ctx:companyAdmin}</companyAdmin>
    <fieldSelectors>{$ctx:fieldSelectors}</fieldSelectors>
</linkedin.companyLookup>

Properties

  • companyId: The unique internal numeric company identifier.
  • universalName: Required - The unique string identifier for a company.  
  • emailDomains: Company email domains.
  • companyAdmin: Lists all the companies that the authenticated user is an administrator of.
  • fieldSelectors: Field selectors are specified after the resource identifiers and path components of a resource, prefixed by a colon, contained within parentheses, and separated by commas. Fields will be returned in the order specified. When URL-encoding your resource URLs, ensure that the parentheses used in selectors remain un-escaped. Remember, each field you select adds computation time to your API request. It's best to be very specific as to what fields you want returned in each API call you make.
Note: Based on the parameters getting passed, the end URL must get changed. The below table describes how the end point changes with the parameter combination changes.

1 = considered parameter    0 = not considered parameter

...

maxLevel3
typeflat

...

Overview

The following operations allow you to work with Companies. Click an operation name to see details on how to use it.

For a sample proxy service the illustrates how to work with companies, see Sample configuration. 

Operation

Description

companyLookup

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed

checkAdminMember

check the member is an Admin or not in the company profiles.

addComment

The Company add comment API provides the ability to add comment for a particular company page

searchCompanyPage

Use the Company Search API to find companies using keywords, industry, or location. It returns a collection of matching companies

checkShareCheck the member has admin privileges or not.
getAdditionalProfileInfoThe Company Statistics API provides the ability to retrieve profile details for a particular company page
getcommentsForSpecificUpdateThe Company Statistics API provides the ability to retrieve comments for a particular company page
getCompanyProfileThe Company Profile API Retrieves and displays one or more company profiles
getCompanySpecificUpdateThe Company Statistics API provides the ability to retrieve specific updates for a particular company page
getCompanyUpdateThe Company Statistics API provides the ability to retrieve updates for a particular company page
getfollowersThe Company Statistics API provides the ability to retrieve no of followers for a particular company page
getHistoricalFollowersThe Company Statistics API provides the ability to retrieve historical followers for a particular company page
getHistoricalStatusUpdateThe Company Statistics API provides the ability to retrieve historical status update for a particular company page
getLikesForCompanyUpdateThe Company Statistics API provides the ability to retrieve likes for status update a particular company page
listCompanyByMemberThe Company Profile API Retrieves and displays members of company profiles

Operation details

This section provides details on each of the operations.

Anchor
companyLookup
companyLookup
Company lookup API and fields

The Company Profile API retrieves and displays one or more company profiles based on the company ID or universal name. Also, it returns basic company profile data such as name, Web site, and industry, and handles additional company content such as RSS stream and Twitter feed.

Code Block
languagehtml/xml
titlecompanyLookUp
<linkedin.companyLookup>
	<companyId>{$ctx:companyId}</companyId>
    <universalName>{$ctx:universalName}</universalName>
    <emailDomains>{$ctx:emailDomains}</emailDomains>
    <companyAdmin>{$ctx:companyAdmin}</companyAdmin>
    <fieldSelectors>{$ctx:fieldSelectors}</fieldSelectors>
</linkedin.companyLookup>

Properties

  • companyId: The unique internal numeric company identifier.
  • universalName: Required - The unique string identifier for a company.  
  • emailDomains: Company email domains.
  • companyAdmin: Lists all the companies that the authenticated user is an administrator of.
  • fieldSelectors: Field selectors are specified after the resource identifiers and path components of a resource, prefixed by a colon, contained within parentheses, and separated by commas. Fields will be returned in the order specified. When URL-encoding your resource URLs, ensure that the parentheses used in selectors remain un-escaped. Remember, each field you select adds computation time to your API request. It's best to be very specific as to what fields you want returned in each API call you make.
Note: Based on the parameters getting passed, the end URL must get changed. The below table describes how the end point changes with the parameter combination changes.

1 = considered parameter    0 = not considered parameter

Anchor
request
request
Sample request

Following is a sample REST request that can be handled by the companyLookup operation.

Code Block
languagehtml/xml
titleSample request for companyLookup
{
"accessToken":"AQUTf-7ouUMipARXfNVowT6ikytQsmVdf3VIo648_iksSI4uBeAv5aqlmpoL0_m4nZ3bG8nyK7wqZRyJKqLTsOAHLDnGpqGf0tFb8F4pSy_dtbJoaFGuIdoD8PjipKpyIorZXgR1wjpyynowzEJ9YX9Poj6AXbRWTRsnKpRNZzwEQB4YAv8",
"apiUrl":"https://api.linkedin.com",
"companyId":"162479",
"universalName":"linkedin",
"emailDomains":"apple.com",
"companyAdmin":"true",
"fieldSelectors":"id"
}

Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages

Anchor
checkAdminMember
checkAdminMember
Check Member Type. 

This page require the member to be an administrator of the target company, checkAdmiMember call returns the currently authenticated user is  administrator or not.

Code Block
titlecheckAdminMember
<linkedin.checkAdminMember>
    <companyId>{$ctx:companyId}</companyId>
</linkedin.checkAdminMember>

Properties

  • companyId: The unique internal numeric company identifier.

Sample request 

Following is a sample REST request that can be handled by the checkAdminMember operation.

Code Block
titleSample request for checkAdminMember
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873"
}

Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#is_admin

Anchor
addComment
addComment
Add a comment on Company page.

AddComment method allows to submit a comment on a company update. 

Code Block
titleaddComment
<linkedin.addComment>
    <companyId>{$ctx:companyId}</companyId>
    <updateKey>{$ctx:updateKey}</updateKey>
    <comment>{$ctx:comment}</comment>
</linkedin.addComment>

Properties

  • companyId: The unique internal numeric company identifier.

  • updateKey: The unique identifier for company update.

  • comment: The status for company. 
Sample request 

Following is a sample REST request that can be handled by the addComment operation.

Code Block
titleSample request for addComment
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"2414183",
"updateKey":"PDATE-c2414183-6029016796592427008",
"comment":"test"
}

Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#company_comment

Anchor
searchCompanyPage
searchCompanyPage

Company search

Use the Company Search API to find companies using keywords, industry, or location. It returns a collection of matching companies. Each entry can contain much of the information available on the company page.

Code Block
languagehtml/xml
titlesearchCompanyPage
<linkedin.searchCompanyPage>
	<refineResults>{$ctx:refineResults}</refineResults>
    <keywords>{$ctx:keywords}</keywords>
    <isHqOnly>{$ctx:isHqOnly}</isHqOnly>
    <facet>{$ctx:facet}</facet>
    <facets>{$ctx:facets}</facets>
    <start>{$ctx:start}</start>
    <count>{$ctx:count}</count>
    <sort>{$ctx:sort}</sort>
</linkedin.searchCompanyPage>

Properties

  • refineResults: Comma separated values refine the results that need to be retrieved from the API. For example, the above method would return the facets, ID and Web site URL of the company.
  • keywords: Companies that have all the keywords anywhere in their listing. Multiple words should be separated by a space. (Don't forget to URL encode this data.)
  • isHqOnly: Matching companies by the location of the headquarters. When this is set to "true" and a location facet is used, this restricts returned companies to only those whose headquarters resides in the specified location.
  • facet: Facet values to search over.
  • facets: Facet buckets to return.
  • start: Start location within the result set for paginated returns. This is the zero-based ordinal number of the search return, not the number of the page. To see the second page of 10 results per page, specify 10, not 1. Ranges are specified with a starting index and a number of results (count) to return. The default value is 0.
  • count: The number of jobs to return. Values can range between 0 and 110. The default value is 10. The total number of results available to any user depends on the user's account level.
  • sort: Controls the search result order. Options would be relevance or relationship.
Sample request

Following is a sample REST request that can be handled by the searchCompanyPage operation.

Code Block
languagehtml/xml
titlesearchCompanyPage
<linkedin.searchCompanyPage>
	<refineResults>{$ctx:refineResults}</refineResults>
    <keywords>{$ctx:keywords}</keywords>
    <isHqOnly>{$ctx:isHqOnly}</isHqOnly>
    <facet>{$ctx:facet}</facet>
    <facets>{$ctx:facets}</facets>
    <start>{$ctx:start}</start>
    <count>{$ctx:count}</count>
    <sort>{$ctx:sort}</sort>
</linkedin.searchCompanyPage>

Properties

  • refineResults: Comma separated values refine the results that need to be retrieved from the API. For example, the above method would return the facets, ID and Web site URL of the company.
  • keywords: Companies that have all the keywords anywhere in their listing. Multiple words should be separated by a space. (Don't forget to URL encode this data.)
  • isHqOnly: Matching companies by the location of the headquarters. When this is set to "true" and a location facet is used, this restricts returned companies to only those whose headquarters resides in the specified location.
  • facet: Facet values to search over.
  • facets: Facet buckets to return.
  • start: Start location within the result set for paginated returns. This is the zero-based ordinal number of the search return, not the number of the page. To see the second page of 10 results per page, specify 10, not 1. Ranges are specified with a starting index and a number of results (count) to return. The default value is 0.
  • count: The number of jobs to return. Values can range between 0 and 110. The default value is 10. The total number of results available to any user depends on the user's account level.
  • sort: Controls the search result order. Options would be relevance or relationship.

 

Sample request

Following is a sample REST request that can be handled by the searchCompanyPage operation.

Code Block
languagehtml/xml
titleSample request for searchCompanyPage
{
"accessToken":"AQXpiC74J2e67w7RPX2sgVL3W5F5R1d3TVOwzpII13XHJNlDWjrvbCW0lpiWBR2_H8PYqlN2oQQ0ZkziU_E0HtYjKRFGLleagMKZVwJEx5sFIal_kYakEbd7IFGhm979SxCtvFaP6S3CVXRjqlRIVcTWwz1ePo5nhyeR7S1R2tuyEp76q5I",
"apiUrl":"https://api.linkedin.com",
"refineResults":"facets,companies:(id,website-url)",
"keywords":"mobile",
"isHqOnly":"true",
"facet":"location,us:0,fr:0",
"facets":"network",
"start":"5",
"count":"15",
"sort":"followers"
}

Related LinkedIn documentation

...

Sample request for searchCompanyPage
{
"accessToken":"AQXpiC74J2e67w7RPX2sgVL3W5F5R1d3TVOwzpII13XHJNlDWjrvbCW0lpiWBR2_H8PYqlN2oQQ0ZkziU_E0HtYjKRFGLleagMKZVwJEx5sFIal_kYakEbd7IFGhm979SxCtvFaP6S3CVXRjqlRIVcTWwz1ePo5nhyeR7S1R2tuyEp76q5I",
"apiUrl":"https://api.linkedin.com",
"refineResults":"facets,companies:(id,website-url)",
"keywords":"mobile",
"isHqOnly":"true",
"facet":"location,us:0,fr:0",
"facets":"network",
"start":"5",
"count":"15",
"sort":"followers"
}

Related LinkedIn documentation

http://developer.linkedin.com/documents/company-search

Anchor
checkShare
checkShare
Company checkShare

The Company Statistics API provides the ability to retrieve statistics for a particular company page. These stats can give you insights on both company share and follower metrics. Currently, the numbers provided are not real-time numbers. The analytical breakdown for a company page is provided on a daily basis.

Code Block
titlecheckShare
 <linkedin.checkShare>
  <companyId>{$ctx:companyId}</companyId>
</linkedin.checkShare>

Properties: 

  • companyId: Required - The unique ID for the suggested company.
Sample request

Following is a sample REST request that can be handled by the checkShare operation.

Code Block
titleSample request for checkShare
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#sharing_enabled

Anchor
getAdditionalProfileInfo
getAdditionalProfileInfo
Retrieve profile information

The Company Statistics API provides the ability to retrieve statistics for a particular company page.This call will return profile information about the company specified by the id value in the request.

Code Block
titlegetAdditionalProfileInfo
 <linkedin.getAdditionalProfileInfo>
    <companyId>{$ctx:companyId}</companyId>
    <properties>{$ctx:properties}</properties>
</linkedin.getAdditionalProfileInfo>

Properties

  • companyId: Required - The unique ID for the suggested company.

  • properties: specify the needed fields(id,name,description).

Sample request

Following is a sample REST request that can be handled by the getAdditionalProfileInfo operation.

Code Block
titleSample request for getAdditionalProfileInfo
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"properties":"name"
}
Related LinkedIn documentation

https://developer.linkedin.com/documentsdocs/company-searchpages#company_profile

Anchor

...

getcommentsForSpecificUpdate

...

getcommentsForSpecificUpdate
Retrieve comments for specific updates

The Company Statistics API provides the ability to retrieve statistics for a particular company page. These stats can give you insights on both company share and follower metrics. Currently, the numbers provided are not real-time numbers. The analytical breakdown for a company page is provided on a daily basis.This call will return all of the comments for the company update identified by update key for the company identified by the {id} value in the request. 

Code Block
titlecheckSharegetcommentsForSpecificUpdate
 <linkedin.checkShare>getcommentsForSpecificUpdate>
    <companyId>{$ctx:companyId}</companyId>
    <updateKey>{$ctx:updateKey}</updateKey>
</linkedin.checkShare>getcommentsForSpecificUpdate>

Properties

  • companyId: Required - The unique ID for the suggested company.

  • updateKey: The unique identifier for company update.

Sample request

Following is a sample REST request that can be handled by the checkShare operationthe getcommentsForSpecificUpdate operation.

Code Block
titleSample request for checkSharegetcommentsForSpecificUpdate
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"updateKey":"PDATE-c2414183-60290167965427008"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#sharingpages#get_update_enabledcomments

Anchor

...

getCompanyProfile

...

getCompanyProfile
Retrieve Company profile

...

.

The Company Statistics API provides the ability to retrieve statistics for a particular company page.This call will return profile information about the company specified by the id value in the request.

Code Block
titlegetAdditionalProfileInfo
 <linkedin.getAdditionalProfileInfo>
    <companyId>{$ctx:companyId}</companyId> <linkedin.getCompanyProfile>
    <properties><companyId>{$ctx:propertiescompanyId}</properties>companyId>
</linkedin.getAdditionalProfileInfo>getCompanyProfile>

Properties

  • companyId: Required - The unique ID for the suggested company.properties: specify the needed fields(id,name,description).

Sample request

Following is a sample REST request that can be handled by the getAdditionalProfileInfo operationthe getCompanyProfile operation.

Code Block
titleSample request for getAdditionalProfileInfogetCompanyProfile
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"properties":"name"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#company_profile

Anchor

...

getCompanySpecificUpdate

...

getCompanySpecificUpdate
update the profile with specific fields

The Company Statistics API provides the ability to retrieve statistics for a particular company page.This call will return all of the comments a single specific company update record for the company update identified by update key for the company the {id} value and the update identified by the {id{update-key} value in the request. 

Code Block
titlegetcommentsForSpecificUpdate
 <linkedin.getcommentsForSpecificUpdate>getCompanySpecificUpdate>
    <companyId>{$ctx:companyId}</companyId>
    <updateKey>{$ctx:updateKey}</updateKey>
</linkedin.getcommentsForSpecificUpdate>getCompanySpecificUpdate>

Properties

  • companyId: Required - The unique ID for the suggested company.

  • updateKey: The unique identifier for company update.

Sample request

Following is a sample REST request that can be handled by the getAdditionalProfileInfo operationthe getCompanySpecificUpdate operation.

Code Block
titleSample request for getAdditionalProfileInfogetCompanySpecificUpdate
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"updateKey":"PDATE-c2414183-60290167965427008"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#getpages#company_update_commentsupdates

Anchor
getCompanyUpdate
getCompanyUpdate

...

Get A company's update

The Company Statistics API provides the ability to retrieve statistics for a particular company page. This call will return a single specific company update record for the company identified by the {id} value and the update identified by the {update-key} value in the requestGetCompanyUpdate method returns a list of update events from the from the LinkedIn company page of the company.

Code Block
titlegetCompanyUpdate
 <linkedin.getCompanyUpdate>
    <companyId>{$ctx:companyId}</companyId>
    <eventType>{$ctx:eventType}</eventType>
    <start>{$ctx:start}</start>
    <count>{$ctx:count}</count>
 </linkedin.getCompanyUpdate>

Properties

  • companyId: Required - The unique ID for the suggested company.

  • count: Maximum number of updates to returneventType: Filter the results to only return updates of the specified event type(optional).

  • start: The offset value for paginating update results by(optional).

  • count: Maximum number of updates to return(optional).

Sample request

Following is a sample REST request that can be handled by the getCompanySpecificUpdate operationthe getCompanyUpdate operation.

Code Block
titleSample request for getCompanyUpdate
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"count":"2",
"start":"1",
"eventType":""
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#companypages#get_updatesupdate

Anchor

...

getfollowers

...

getfollowers
  Retrieve company's followers information

The Company Statistics API provides the ability to retrieve statistics for a particular company page.This call will return a single specific company update record request allows you to get a follower-count for a specific segment to ensure you are at or over the minimum requirement for the target segment for the company identified specified by the {id} value and the update identified by the {update-key} value in the request.

...

titlegetcommentsForSpecificUpdate

...

in the request.

Code Block
titlegetfollowers
 <linkedin.getfollowers>
    <companyId>{$ctx:companyId}</companyId>
    <geos>{$ctx:eventType}</geos>
    <jobFunc>{$ctx:jobFunc}</jobFunc>
    <industries>{$ctx:industries}</industries>
    <companyId><seniorities>{$ctx:companyIdseniorities}</companyId>seniorities>
    <updateKey><companySizes>{$ctx:updateKeycompanySizes}</updateKey>companySizes>
</linkedin.getCompanySpecificUpdate>

Properties

...

companyId: Required - The unique ID for the suggested company.

...

.getfollowers>

Properties: 

  • companyId: Required - The unique ID for the suggested company.

  • geos : Segment by a particular geographic area.

  • jobFunc : Segment by a particular company size targeting code.

  • industries : Segment by member industry.

  • seniorities: Segment by member seniority level targeting code.

  • companySizes : Segment by a particular geographic area.

Sample request

Following is a sample REST request that can be handled by the getCompanySpecificUpdate operationthe getfollowers operation.

Code Block
titleSample request for getCompanySpecificUpdategetfollowers
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"updateKeygeos":"PDATE-c2414183-60290167965427008af"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#get_update followers

Anchor
sample
sample

Anchor

...

getHistoricalFollowers

...

getHistoricalFollowers
 Retrieve historical followers information

This call retrieves statistics about followers for a particular company page .This request allows you to get a follower-count for a specific segment to ensure you are at or over the minimum requirement for the target segment for the company specified identified by the {id} value in the request.

Code Block
titlegetfollowersgetHistoricalFollowers
 <linkedin.getfollowers>getHistoricalFollowers>
    <companyId>{$ctx:companyId}</companyId>
    <geos><timeGranularity>{$ctx:eventTypetimeGranularity}</geos>timeGranularity>
    <jobFunc>{$ctx:jobFunc}</jobFunc>
    <industries>{$ctx:industries}</industries>
    <seniorities><startTimestamp>{$ctx:senioritiesstartTimestamp}</seniorities>startTimestamp>
    <companySizes><endTimestamp>{$ctx:companySizesendTimestamp}</companySizes>endTimestamp>
</linkedin.getfollowers>getHistoricalFollowers>

Properties: 

  • companyId: Required - The unique ID for the suggested company.

  • geos : Segment by a particular geographic area.

  • jobFunc : Segment by a particular company size targeting code.

  • industries : Segment by member industry.

  • seniorities: Segment by member seniority level targeting code.

  • companySizes : Segment by a particular geographic areatimeGranularity: Granularity of statistics eg values:day,month.

  • startTimestamp: Starting timestamp of when the stats search should begin (milliseconds since epoch).

  • endTimestamp: Ending timestamp of when the stats search should end (milliseconds since epoch).

Sample request

Following is a sample REST request that can be handled by the getfollowers operationthe getHistoricalFollowers operation.

Code Block
titleSample request for getfollowersgetHistoricalFollowers
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"timeGranularity": "day",
"geosstartTimestamp": "af421797310000"
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#getpages#historical_followers

Anchor

...

getHistoricalStatusUpdate
getHistoricalStatusUpdate
 Retrieve historical status update details.

The Historical Status Update Statistics API provides impression and engagement data on company shares for a given company page.

Code Block
titlegetHistoricalFollowersgetLikesForCompanyUpdate
 <linkedin.getHistoricalFollowers>gethistoricalStatusUpdate>
    <companyId>{$ctx:companyId}</companyId>
    <updateKey>{$ctx:updateKey}</updateKey>
    <timeGranularity>{$ctx:timeGranularity}</timeGranularity>
    <startTimestamp>{$ctx:startTimestamp}</startTimestamp>
    <endTimestamp>{$ctx:endTimestamp}</endTimestamp>
</linkedin.getHistoricalFollowers>gethistoricalStatusUpdate>

Properties: 

  • companyId: Required - The unique ID for the suggested company.

  • udateKey: The unique identifier for company update.

  • companyId: Required - The unique ID for the suggested company.

  • timeGranularity: Granularity of statistics eg values: values:day,month.

  • startTimestamp: Starting timestamp of when the stats search should begin (milliseconds since epoch).

  • endTimestamp: Ending timestamp of when the stats search should end (milliseconds since epoch).

...

Following is a sample REST request that can be handled by the getHistoricalFollowers operationthe gethistoricalStatusUpdate operation.

Code Block
titleSample request for getHistoricalFollowersgethistoricalStatusUpdate
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"timeGranularityupdateKey": "day",
"startTimestamp": "421797310000""UPDATE-c2414183-6029016867488677888" 
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#historical_followersupdates

Anchor
getLikesForCompanyUpdate
getLikesForCompanyUpdate

...

Retrieve likes for company upadates.

The Historical Status Update Statistics API provides impression and engagement data on company shares for a given company page.

Code Block
titlegetLikesForCompanyUpdate
 <linkedin.gethistoricalStatusUpdate>getLikesForCompanyUpdate>
    <companyId>{$ctx:companyId}</companyId>
    <updateKey>{$ctx:updateKey}</updateKey>
    <timeGranularity>{$ctx:timeGranularity}</timeGranularity>
    <startTimestamp>{$ctx:startTimestamp}</startTimestamp>
    <endTimestamp>{$ctx:endTimestamp}</endTimestamp>
</linkedin.gethistoricalStatusUpdate>getLikesForCompanyUpdate>

Properties: 

...

companyId: Required - The unique ID for the suggested company.

...

  • companyId: Required - The unique ID for the suggested company.

  • timeGranularity: Granularity of statistics eg: values:day,month.

  • startTimestamp: Starting timestamp of when the stats search should begin (milliseconds since epoch).

  • endTimestamp: Ending timestamp of when the stats search should end (milliseconds since epoch)updateKey: The unique identifier for company update.

Following is a sample REST request that can be handled by the gethistoricalStatusUpdate operationthe getLikesForCompanyUpdate operation.

Code Block
titleSample request for gethistoricalStatusUpdategetLikesForCompanyUpdate
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
"companyId":"32873",
"updateKey":"UPDATE-c2414183-6029016867488677888" 
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#historical_updates

...

pages#get_update_likes

Anchor
listCompanyByMember
listCompanyByMember
List all members in a company.

The Historical Status Update Statistics API provides impression and engagement data on company shares for a given company page.

Code Block
titlegetLikesForCompanyUpdatelistCompanyByMember
 <linkedin.getLikesForCompanyUpdate>listCompanyByMember>
    <companyId><count>{$ctx:companyIdcount}</companyId>count>
    <updateKey><start>{$ctx:updateKeystart}</updateKey>start>
</linkedin.getLikesForCompanyUpdate>listCompanyByMember>

Properties: 

  • companyIdstart: Required - The unique ID for the suggested company.udateKey: The unique identifier for company updateoffset value for paginating update results by(optional).
  • count: Maximum number of updates to return(optional).

Following is a sample REST request that can be handled by the getLikesForCompanyUpdate operationthe listCompanyByMember operation.

Code Block
titleSample request for getLikesForCompanyUpdatelistCompanyByMember
{
"apiUrl":"https://api.linkedin.com",
"accessToken":"AQUDwVyNpxmDdVgdBB0V3yOrdyeEpbaPoZveoYH5jH5p-dIVBRyGZoeU2l0JaHv4LhLa0sOjZgBkS2TCN8V5ilZ3h3pKb_2Nkym2gvSXEWyvg-wqbExzXuLS1s9oMRB_jzmVHSFGDbQCLczvqpi_IwbPSfnKjw4ySISwI5T_W44Q1cWQ2eY",
  "companyIdstart":"328731",
  "updateKeycount":"UPDATE-c2414183-60290168674886778880"
}
}
Related LinkedIn documentation

https://developer.linkedin.com/docs/company-pages#getpages#list_update_likescompanies

Anchor
sample
sample

Sample configuration

...