소스 검색

debug output in restApi

Herbert Vojčík 14 년 전
부모
커밋
fa776b807e
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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) {