FacebookHelperTryGetFacebookPageId Method |
Gets the Facebook page identifier associated with the specified URL. May throw exception.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
Syntax public static bool TryGetFacebookPageId(
string pageUrl,
out string pageId
)
Parameters
- pageUrl
- Type: SystemString
The URL to get the Facebook page identifier from. - pageId
- Type: SystemString
The Facebook page identifier, if the specified URL is a valid Facebook page URL; otherwise, null.
Return Value
Type:
BooleanTrue, if the specified URL is a valid Facebook page URL; otherwise, false.
See Also