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
)
<ObsoleteAttribute("Deprecated -- Use the Bitly service which implements the IShortUrl interface.")>
Public Shared Function Shorten (
url As String,
loginName As String,
apiKey As String
) As String
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:
StringThe bit.ly URL.
See Also