Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Correction of method getRetweets #28

Merged
merged 1 commit into from

2 participants

@sambarboza

This method uses GET instead of POST.

sambarboza Correction of method getRetweets.
This method uses GET instead of POST.
b88864a
@sambarboza

Is this project dead?

@jdub jdub merged commit 0967a4a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 22, 2011
  1. Correction of method getRetweets.

    sambarboza authored
    This method uses GET instead of POST.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/twitter.js
View
2  lib/twitter.js
@@ -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;
}
Something went wrong with that request. Please try again.