FacebookHelper TryGetFacebookPageId Method Kentico 8.0 API Reference
Gets the Facebook page identifier associated with the specified URL. May throw exception.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

pageUrl
Type: OnlineSystem String
The URL to get the Facebook page identifier from.
pageId
Type: OnlineSystem String 
The Facebook page identifier, if the specified URL is a valid Facebook page URL; otherwise, null.

Return Value

Type: OnlineBoolean
True, if the specified URL is a valid Facebook page URL; otherwise, false.
See Also