June 20th, 2002


Protocol issue

I have a simple LJ embedding in my website done with ColdFusion. About a month ago it stopped working and I just today got around to trying to fix it. (I make a living doing CF, I don't want to do it when I go home, that's why it took so long.) The error message being returned:

errmsg Client error: No mode specified. success FAIL

So I read some back posts and see that using HTTP GET seems to have been disallowed at some point in May or so, which is what I'd been using:

<CFHTTP URL="http://www.livejournal.com/interface/flat?mode=getevents&user=theprophecy&hpassword=[removed]&selecttype=lastn&howmany=9" method="GET" timeout="30">

So no big deal, I switched to POST:

<CFHTTP URL="http://www.livejournal.com/interface/flat" method="post" timeout="30">
<cfhttpparam type="URL" name="mode" value="getevents">
<cfhttpparam type="URL" name="user" value="theprophecy">
<cfhttpparam type="URL" name="hpassword" value="[removed]">
<cfhttpparam type="URL" name="selecttype" value="lastn">
<cfhttpparam type="URL" name="howmany" value="9">

...which to my surprise, returned the exact same error. I checked the protocol documentation again to see if I'd missed some earthmoving change, but as near as I could tell everything was kosher (tho obviously not). What am I missing?
  • Current Mood