Until Feb 23, 2011 I had been authenticating against the bit.ly API using the username/password properties on cfhttp.
<cfhttp url="http://api.bit.ly/shorten?version=2.0.1&longUrl=www.longurl.com&apiKey=xxxxxxxx"
username="myusername"
password="mypassword">
</cfhttp>
On Feb 23, this approach started failing this error message:{"errorCode": 500, "errorMessage": "MISSING_ARG_LOGIN", "results": null, "statusCode": ""}
To fix, simply add the parameter login directly to the url for the API call, like this:
<cfhttp url="http://api.bit.ly/shorten?version=2.0.1&longUrl=www.longurl.com&apiKey=xxxxxxxx&login=myusername">
</cfhttp>
The password parameter isn ...
Recent comments