FacebookHelperDeletePostOnFacebookPageInternal Method |
Deletes the post on the Facebook page.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
Syntax protected virtual void DeletePostOnFacebookPageInternal(
string postId,
string pageAccessToken
)
Parameters
- postId
- Type: SystemString
Facebook (external) identifier of the post. - pageAccessToken
- Type: SystemString
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. |
Exception | Exception is thrown if the post could not be deleted. |
See Also