How to get request_token to succeed in Python instead of failing with a 401


#1

There are various libraries in Python that don’t actually work, some of these include:

Flask-OAuth
oauth2

Here is an article that accurately describes the state of many poorly-implemented libraries in Python that fail with at least Twitter’s request_token requests:
http://pydanny.com/the-sorry-state-of-python-oauth-providers.html

Here is an example of request_token that will actually work in Python:
http://requests-oauthlib.readthedocs.org/en/latest/oauth1_workflow.html

  • Neil