Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #42 from tilap/unretweet
Browse files Browse the repository at this point in the history
adds unretweet api endpoint
  • Loading branch information
reneraab authored Sep 5, 2016
2 parents 4fe670b + 408a49f commit caf3f0b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions twitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,11 @@ Twitter.prototype.statuses = function(type, params, accessToken, accessTokenSecr
delete params.id;
method = "POST";
break;
case "unretweet":
url = "unretweet/" + params.id;
delete params.id;
method = "POST";
break;
case "oembed":
url ="oembed";
break;
Expand Down

0 comments on commit caf3f0b

Please sign in to comment.