Click or drag to resize
FacebookPostInfoProvider.GetPostPublishStateMessage Method
Gets localized message that describes the post's publish state.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 11.0.0
Syntax
C#
public static string GetPostPublishStateMessage(
	FacebookPostInfo post,
	IUserInfo user = null,
	ISiteInfo site = null,
	bool shortMessage = false
)

Parameters

post
Type: CMS.SocialMarketing.FacebookPostInfo
Facebook post.
user (Optional)
Type: CMS.Base.IUserInfo
User whose time zone will be used when formating date time information.
site (Optional)
Type: CMS.Base.ISiteInfo
Site whose time zone will be used when formating date time information.
shortMessage (Optional)
Type: System.Boolean
Indicates if short message has to be used instead of detail message.

Return Value

Type: String
Localized status message.
See Also