FacebookHelper.DeletePostOnFacebookPage Method |
Deletes the post on the Facebook page.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 13.0.131
Syntaxpublic static void DeletePostOnFacebookPage(
string postId,
string pageAccessToken,
string appSecret
)
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. - appSecret
- Type: System.String
Facebook application secret key for improving security.
ExceptionsException | 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