Click or drag to resize
FacebookPostInfoProviderDeleteFacebookPostInfo Method (Int32)
Deletes the specified Facebook post. If the post is published on the Facebook, it will be deleted there first.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 9.0.0
Syntax
C#
public static void DeleteFacebookPostInfo(
	int postId
)

Parameters

postId
Type: SystemInt32
Facebook post identifier.
Exceptions
ExceptionCondition
FacebookApiExceptionFacebookApiException is thrown when an error occurs while communicating with Facebook.
ExceptionException 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