Explorar o código

debug output in restApi

Herbert Vojčík %!s(int64=14) %!d(string=hai) anos
pai
achega
fa776b807e
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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) {