Permalink
Browse files

twitter api urls updated

  • Loading branch information...
1 parent f46ae96 commit 3a823938341f71fa87119600d8058fbac5a85e17 @adaoraul adaoraul committed Mar 8, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/passport-twitter/strategy.js
@@ -41,9 +41,9 @@ var util = require('util')
*/
function Strategy(options, verify) {
options = options || {};
- options.requestTokenURL = options.requestTokenURL || 'https://twitter.com/oauth/request_token';
- options.accessTokenURL = options.accessTokenURL || 'https://twitter.com/oauth/access_token';
- options.userAuthorizationURL = options.userAuthorizationURL || 'https://twitter.com/oauth/authenticate';
+ options.requestTokenURL = options.requestTokenURL || 'https://api.twitter.com/oauth/request_token';
+ options.accessTokenURL = options.accessTokenURL || 'https://api.twitter.com/oauth/access_token';
+ options.userAuthorizationURL = options.userAuthorizationURL || 'https://api.twitter.com/oauth/authenticate';
options.sessionKey = options.sessionKey || 'oauth:twitter';
OAuthStrategy.call(this, options, verify);

0 comments on commit 3a82393

Please sign in to comment.