Permalink
Browse files

Fixed get

  • Loading branch information...
1 parent 68496b5 commit 7700ba05dc51e8c8ab378f5e2217dc66706789f9 @masylum committed Nov 14, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/twitter_client.js
  2. +1 −1 package.json
View
@@ -44,7 +44,7 @@ module.exports = function (api_key, api_secret, redirect) {
},
get = function (path, params, token, callback) {
- oAuth.get(rest_base + path, token.oauth_token, token.oauth_token_secret, params, null, requestCallback(callback));
+ oAuth.get(rest_base + path + '?' + querystring.stringify(params), token.oauth_token, token.oauth_token_secret, requestCallback(callback));
},
post = function (path, params, token, callback) {
View
@@ -1,7 +1,7 @@
{
"name": "twitter-js",
"description": "easy peasy twitter client",
- "version": "0.0.3",
+ "version": "0.0.4",
"author": "Pau Ramon <masylum@gmail.com>",
"keywords": ["twitter"],
"main" : "lib/twitter_client.js",

0 comments on commit 7700ba0

Please sign in to comment.