Deletes the post on the Facebook page.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- postId
- Type: System String
Facebook (external) identifier of the post.
- pageAccessToken
- Type: System String
Access token that will be used for deleting the post.
Exceptions
Exception | Condition |
---|---|
FacebookApiException | FacebookApiException is thrown when an error occurs while communicating with Facebook. |
System Exception | Exception is thrown if the post could not be deleted. |
See Also