Add getOAuthApplication()

This commit is contained in:
abalabahaha
2016-07-29 01:05:01 -07:00
parent 34f71eaba1
commit 810059200c
5 changed files with 47 additions and 0 deletions

View File

@@ -1764,6 +1764,13 @@ var InternalClient = (function () {
return this.apiRequest("delete", _Constants.Endpoints.FRIENDS + "/" + user.id, true);
};
//def getOAuthApplication
InternalClient.prototype.getOAuthApplication = function getOAuthApplication(appID) {
appID = appID || "@me";
return this.apiRequest("get", _Constants.Endpoints.OAUTH2_APPLICATION(appID), true);
};
//def ack
InternalClient.prototype.ack = function ack(msg) {