This version now works with the OAuth mechanism.