FacebookPostInfoProviderTryCancelScheduledPublishFacebookPost Method (FacebookPostInfo) |
Tries to cancel scheduled publish of Facebook post. If successful, the post can be modified using
PublishFacebookPost(Int32).
(Has to be called before modification since Facebook does not allow published posts to be modified).
There is no need to call this method when deleting a post since posts can be deleted even after publication.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax public static bool TryCancelScheduledPublishFacebookPost(
FacebookPostInfo postInfo
)
Parameters
- postInfo
- Type: CMS.SocialMarketingFacebookPostInfo
The FacebookPostInfo that shall be canceled.
Return Value
Type:
BooleanTrue if successfully canceled, false if the post has already been published.
See Also