Kaynağa Gözat

debug printing in graphApiPost

Herbert Vojčík 14 yıl önce
ebeveyn
işleme
35cc30eebd
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. 3 1
      lib-app/facebook-oauth.js

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

@@ -17,7 +17,9 @@ fb.OAuthInterface.prototype.graphApiGet = function (path, args) {
 };
 
 fb.OAuthInterface.prototype.graphApiPost = function (path, args) {
-  return wpost("https://graph.facebook.com/"+path+this.tokenString(), args);
+  print(request);
+  print("https://graph.facebook.com/"+path+this.tokenString(), args);
+  response.stop();
 };
 
 fb.OAuthInterface.prototype.tokenString = function () {