Click or drag to resize
FacebookAccountInfoProviderGetFacebookAccountInfo Method (String, SiteInfoIdentifier)
Retrieves a FacebookAccountInfo with the specified Facebook page identifier, and returns it.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 13.0.131
Syntax
C#
public static FacebookAccountInfo GetFacebookAccountInfo(
	string facebookPageCodeName,
	SiteInfoIdentifier siteId
)

Parameters

facebookPageCodeName
Type: SystemString
Facebook page identifier.
siteId
Type: CMS.DataEngineSiteInfoIdentifier
Account site identifier.

Return Value

Type: FacebookAccountInfo
A FacebookAccountInfo with the specified Facebook page identifier, if found; otherwise, null.
See Also