Azman Ali M.Habib Rahman
New Member
Dear All,
I would like to create Tinyurl from long URL that's contain & symbol.
The coding that I use is as below:
For example below URL
http://www.aweber.com/thankyou-coi.htm?m=text&l=chandoo-org
The Tinyurl only will create until below URL
http://www.aweber.com/thankyou-coi.htm?m=text
The remaining will be cut when using this fuction.
Hope can guide me to solve this issue.
Thanks in advance
I would like to create Tinyurl from long URL that's contain & symbol.
The coding that I use is as below:
Code:
Function GetTinyUrl(url As String) As String
' based on http://chandoo.org/wp/2009/02/05/twitter-from-excel/
' tinyurl API creation link from:
' http://www.wprecipes.com/how-to-automatically-provide-tinyurls-for-your-wordpress-blog-posts
Dim xml As Object
Set xml = CreateObject("MSXML2.XMLHTTP.6.0")
xml.Open "POST", "http://tinyurl.com/api-create.php?url=" & url, False
xml.Send
GetTinyUrl = xml.ResponseText
End Function
For example below URL
http://www.aweber.com/thankyou-coi.htm?m=text&l=chandoo-org
The Tinyurl only will create until below URL
http://www.aweber.com/thankyou-coi.htm?m=text
The remaining will be cut when using this fuction.
Hope can guide me to solve this issue.
Thanks in advance
Last edited by a moderator: