FacebookPostInfoProviderDeleteFacebookPostInfo Method (Int32) |
Deletes the specified Facebook post. If the post is published on the Facebook, it will be deleted there first.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax public static void DeleteFacebookPostInfo(
int postId
)
Parameters
- postId
- Type: SystemInt32
Facebook post identifier.
Exceptions Exception | Condition |
---|
FacebookApiException | FacebookApiException is thrown when an error occurs while communicating with Facebook. |
Exception | Exception is thrown if the Facebook account doesn't exist or its access token is invalid or post could not be deleted from Facebook. |
See Also