|
@@ -11,10 +11,7 @@ fb.OAuthInterface = function () {
|
|
|
}
|
|
|
|
|
|
fb.OAuthInterface.prototype.restApi = function (method, args) {
|
|
|
-
|
|
|
- print("https://api.facebook.com/method/"+method, this.withToken(args));
|
|
|
- print(wget("https://api.facebook.com/method/"+method, this.withToken(args), {complete:true}));
|
|
|
- response.stop();
|
|
|
+ return wget("https://api.facebook.com/method"+method, this.withToken(args));
|
|
|
};
|
|
|
|
|
|
fb.OAuthInterface.prototype.graphApiGet = function (path, args) {
|