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: 8.2.23
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