Browse Source

debug printing in graphApiPost

Herbert Vojčík 14 years ago
parent
commit
35cc30eebd
1 changed files with 3 additions and 1 deletions
  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 () {