Created
July 28, 2011 18:15
-
-
Save michaelhelmick/1112152 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def get_token_and_login_url(self, redirect_uri): | |
"""Gets the oAuth token via the oauth2 library.""" | |
data = urllib.urlencode({'oauth_callback': redirect_uri if redirect_uri else 'oob'}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment