Ver Fonte

debug output in restApi

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

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

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