Explorar o código

debug printing in graphApiPost

Herbert Vojčík %!s(int64=14) %!d(string=hai) anos
pai
achega
35cc30eebd
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

@@ -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 () {