mergPopActivity - URL not sharing
Posted: Sat Apr 16, 2016 2:37 am
We are using mergPopActivity, but we have an issue. The pop-up share appears, but there is no URL. We were experiencing issues with long URL, but we use bitly.com to shorten it. No matter if I click message, Facebook or twitter - the pText appears, but the URL never does?????
Code: Select all
command showShareOptions pText, pImagePath, pURL
replace " " with "%20" in pURL --replace space
--If the length of the URL is
--put the length of pURL into tLength
if tLength > 75 then
put getShortURL(pURL) into pURL
end if
--Get out is not mobile
if the environment is not "mobile" then
exit showShareOptions
end if
try
mergPopActivity pText, "", pURL
catch tError
answer tError
end try