Publishes a new share on company profile identified by LinkedIn's company ID.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- authorization
- Type: WebOAuthAuthorization
Authorization to be used for the publishing request.
- companyId
- Type:
System String
Identifier of the company used by LinkedIn.
- comment
- Type:
System String
Comment text.
Return Value
Type:Update key of the published share.
Exceptions
| Exception | Condition |
|---|---|
| Thrown when authorization, companyId or comment is null. | |
| Thrown when comment is longer than COMPANY_SHARE_COMMENT_MAX_LENGTH | |
| CMS.SocialMarketing LinkedInApiUnauthorizedException | Thrown when protocol error occurs because the request is not authorized properly. |
| CMS.SocialMarketing LinkedInApiException | Thrown when protocol error occurs. |
See Also