Click or drag to resize
LinkedInPostInfoProviderPublishLinkedInPostInternal Method
Publishes the LinkedIn post on the appropriate LinkedIn account (company profile) in proper time. Uses scheduler for future posts.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
protected virtual void PublishLinkedInPostInternal(
	int postInfoId
)

Parameters

postInfoId
Type: SystemInt32
Identifier of the LinkedInPostInfo that will be published.
Exceptions
ExceptionCondition
ExceptionWhen post does not exist, has already been published to LinkedIn or the account is not valid.
ArgumentExceptionThrown when authorization or LinkedIn's company ID resulting from accountId is null, or when comment is null.
ArgumentOutOfRangeExceptionThrown when comment is longer than COMPANY_SHARE_COMMENT_MAX_LENGTH
LinkedInApiUnauthorizedExceptionThrown when protocol error occurs because the request is not authorized properly.
LinkedInApiExceptionThrown when protocol error occurs.
See Also