X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..2c3ba81e19fd6d84ab208ad90a48fd81e4780c29:/forum_modules/oauthauth/authentication.py diff --git a/forum_modules/oauthauth/authentication.py b/forum_modules/oauthauth/authentication.py index 93cdc59..54a6b4f 100644 --- a/forum_modules/oauthauth/authentication.py +++ b/forum_modules/oauthauth/authentication.py @@ -6,7 +6,7 @@ try: except ImportError: from django.utils import simplejson -from lib import oauth +from lib import oauth2 import settings class TwitterAuthConsumer(OAuthAbstractAuthConsumer): @@ -15,9 +15,9 @@ class TwitterAuthConsumer(OAuthAbstractAuthConsumer): str(settings.TWITTER_CONSUMER_KEY), str(settings.TWITTER_CONSUMER_SECRET), "twitter.com", - "https://twitter.com/oauth/request_token", - "https://twitter.com/oauth/access_token", - "https://twitter.com/oauth/authorize", + "https://api.twitter.com/oauth/request_token", + "https://api.twitter.com/oauth/access_token", + "https://api.twitter.com/oauth/authorize", ) def get_user_data(self, key):