Browse Source

debug printing in graphApiPost

Herbert Vojčík 14 năm trước cách đây
mục cha
commit
35cc30eebd
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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 () {