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: 8.0.0.0 (8.1.5347.20411)
Parameters
- postId
- Type: System Int32
Facebook post identifier.
Exceptions
Exception | Condition |
---|---|
FacebookApiException | FacebookApiException is thrown when an error occurs while communicating with Facebook. |
System 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