Преглед изворни кода

debug printing in graphApiPost

Herbert Vojčík пре 14 година
родитељ
комит
35cc30eebd
1 измењених фајлова са 3 додато и 1 уклоњено
  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 () {