Permalink
Browse files

Merge pull request #34 from linuxlewis/master

Adding additional timeline resources
  • Loading branch information...
2 parents 4f70b36 + 581eca6 commit a81bd33190e5ba94c797c35d2aa40fc2ebc96072 @AvianFlu committed Mar 2, 2012
Showing with 12 additions and 0 deletions.
  1. +12 −0 lib/twitter.js
View
@@ -501,6 +501,18 @@ Twitter.prototype.getRetweetsOfMe = function(params, callback) {
return this;
}
+Twitter.prototype.getRetweetedToUser = function(params, callback){
+ var url = '/statuses/retweeted_to_user.json';
+ this.get(url, params, callback);
+ return this;
+}
+
+Twitter.prototype.getRetweetedByUser = function(params, callback){
+ var url = '/statuses/retweeted_by_user.json';
+ this.get(url, params, callback);
+ return this;
+}
+
// Tweets resources
Twitter.prototype.showStatus = function(id, callback) {

0 comments on commit a81bd33

Please sign in to comment.