I am using cold fusion code to covert URL to bitly urls and just last week it stopped working. I have tried everything but it just will not work.
The original code below was working:
<cfhttp result="CFHTTP" method="GET" url="https://api-ssl.bitly.com/v3/shorten">
<cfhttpparam type="formfield" name="access_token" value="#bitly_access_token#">
<cfhttpparam type="formfield" name="longUrl" value="#URL.long_url#">
</cfhttp>
But now it is not and the cfhttp.filecontent is just returning "Connection Failure"
however when I put the same URL in a browser:
it works. Any idea why this would be happening? Does anyone know if bit.ly changed anything?
Thank you!
If you go to https://dev.bitly.com/index.html, there's a big notice stating
You've got 2.5 weeks to move to v4.