Working python oauth example

This doc/example longer works with later versions of python3:

Oauth errors out with:
ModuleNotFoundError: No module named ‘urlparse’

Fixed this with revised content