Click or drag to resize
FacebookPostInfoProviderPublishFacebookPost Method
Publishes the Facebook post on the appropriate Facebook page in proper time. Uses scheduler for future posts. When modifying scheduled posts, always call the TryCancelScheduledPublishFacebookPost(Int32) first.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
public static void PublishFacebookPost(
	int postInfoId
)

Parameters

postInfoId
Type: SystemInt32
Identifier of the FacebookPostInfo that will be published.
Exceptions
ExceptionCondition
ExceptionWhen post does not exist, has already been published to Facebook or the account is not valid.
FacebookApiExceptionWhen something in communication with Facebook goes wrong.
See Also