Permalink
Browse files

adding version to twitter api url

  • Loading branch information...
1 parent 8e07871 commit 68e8fb4e6d650e56e9e4823a34771134d05dabfa Ryan Stubblefield committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/modules/twitter.js
View
@@ -10,7 +10,7 @@ oauthModule.submodule('twitter')
.authorizePath('/oauth/authenticate')
.fetchOAuthUser( function (accessToken, accessTokenSecret, params) {
var promise = this.Promise();
- this.oauth.get(this.apiHost() + '/users/show.json?user_id=' + params.user_id, accessToken, accessTokenSecret, function (err, data, res) {
+ this.oauth.get(this.apiHost() + '/1/users/show.json?user_id=' + params.user_id, accessToken, accessTokenSecret, function (err, data, res) {
if (err) {
err.extra = {data: data, res: res};
return promise.fail(err);

0 comments on commit 68e8fb4

Please sign in to comment.