add access_type kwarg to OAuthHandler.get_authorization_url(), pass through to Twitte...
authorRyan Barrett <git@ryanb.org>
Tue, 12 Aug 2014 22:17:34 +0000 (15:17 -0700)
committerRyan Barrett <git@ryanb.org>
Tue, 12 Aug 2014 22:17:34 +0000 (15:17 -0700)
commitebbcfd6e18170d182606238173eced0a1be169c3
treea6f1853448a82cfba5873cd09b6e3a86ee24415b
parent7e6052e3f31b586badf4a1e9ee9ac410b3f86a83
add access_type kwarg to OAuthHandler.get_authorization_url(), pass through to Twitter's x_auth_access_type

Twitter's oauth/request_token endpoint supports a custom x_auth_access_type query parameter that may be 'read' or 'write'. This lets you request a read-only token for an app that has read/write permissions. Details: https://dev.twitter.com/docs/api/1/post/oauth/request_token

fixes #471
tests/test_auth.py
tweepy/auth.py