A (possible still broken) wget invocation that would get a token (we've managed to register an oauth app and had the network die on us once more when trying to get a token; what made it more annoying that it should have been is that that wget was old enough not to support storing bodies of errors, so there was lots of guesswork involved).