I'm trying to use owned_books.list while following the python OAuth API guide. Unfortunately, every request is met with 401 not authorized. My code is here: sample oauth script
As you can see, I'm not saving the session's access tokens. Is that where I went wrong? I worry that after I first authorized my app, I lost the original access token, and now any new tokens are unauthorized. I tried revoking my app's access token from my account settings, and then re-authorizing, but that didn't help.
As you can see, I'm not saving the session's access tokens. Is that where I went wrong? I worry that after I first authorized my app, I lost the original access token, and now any new tokens are unauthorized. I tried revoking my app's access token from my account settings, and then re-authorizing, but that didn't help.