Permalink
Browse files

Correction of method getRetweets.

This method uses GET instead of POST.
  • Loading branch information...
1 parent 3975437 commit b88864a8bd9560c9169b91662e487cc43a3af5cb sambarboza committed Nov 22, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/twitter.js
View
@@ -481,7 +481,7 @@ Twitter.prototype.retweetStatus = function(id, callback) {
Twitter.prototype.getRetweets = function(id, params, callback) {
var url = '/statuses/retweets/' + escape(id) + '.json';
- this.post(url, params, null, callback);
+ this.get(url, params, callback);
return this;
}

0 comments on commit b88864a

Please sign in to comment.