FacebookPostInfoProvider PublishFacebookPost Method Kentico 8.0 API Reference
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.0.0.0 (8.0.5239.26125)

Parameters

postInfoId
Type: OnlineSystem Int32
Identifier of the FacebookPostInfo that will be published.
Exceptions

ExceptionCondition
OnlineSystem 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