Click or drag to resize
URLShortenerHelperGetShortenedURLInternal Method
Shortens provided URL

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 8.2.23
Syntax
C#
protected virtual string GetShortenedURLInternal(
	URLParserMatch longURLMatch,
	URLShortenerTypeEnum shortener,
	SiteInfoIdentifier siteIdentifier
)

Parameters

longURLMatch
Type: CMS.SocialMarketingURLParserMatch
A Match containing the URL to be shortened.
shortener
Type: CMS.SocialMarketingURLShortenerTypeEnum
URL shortener.
siteIdentifier
Type: CMS.DataEngineSiteInfoIdentifier
Site name used to get URLShortener settings, since they are site-specific.

Return Value

Type: String
See Also