Thanks, though I'm still getting authentication errors. I don't want to use the JS library since I'm not working in Javascript.
I'd kill for a working code sample, in any language. I tried looking at the JS source, but it's minified and thus quite hard to read.