Ver Fonte

debug removed

Herbert Vojčík há 13 anos atrás
pai
commit
b98901b798
1 ficheiros alterados com 1 adições e 4 exclusões
  1. 1 4
      lib-app/facebook-oauth.js

+ 1 - 4
lib-app/facebook-oauth.js

@@ -11,10 +11,7 @@ fb.OAuthInterface = function () {
 }
 
 fb.OAuthInterface.prototype.restApi = function (method, args) {
-//  return wget("https://api.facebook.com/"+method+this.tokenString(), 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) {