Click or drag to resize
FacebookHelperDeletePostOnFacebookPage Method
Deletes the post on the Facebook page.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
public static void DeletePostOnFacebookPage(
	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
ExceptionCondition
FacebookApiExceptionFacebookApiException is thrown when an error occurs while communicating with Facebook.
ExceptionException is thrown if the post could not be deleted.
See Also