Click or drag to resize

ShortUrlShorten Method (String, String, String)

Note: This API is now obsolete.

Shortens the url.

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[ObsoleteAttribute("Deprecated -- Use the Bitly service which implements the IShortUrl interface.")]
public static string Shorten(
	string url,
	string loginName,
	string apiKey
)

Parameters

url
Type: SystemString
The URL to shorten
loginName
Type: SystemString
Your login name. (http://bit.ly/account/your_api_key)
apiKey
Type: SystemString
The bit.ly API key. (http://bit.ly/account/your_api_key)

Return Value

Type: String
The bit.ly URL.
See Also