Herbert Vojčík hace 15 años
padre
commit
586c11cf21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib-app/facebook-oauth.js

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

@@ -11,7 +11,7 @@ fb.OAuthInterface = function () {
 }
 }
 
 
 fb.OAuthInterface.prototype.restApi = function (method, args) {
 fb.OAuthInterface.prototype.restApi = function (method, args) {
-  return wget("https://api.facebook.com/method"+method, this.withToken(args));
+  return wget("https://api.facebook.com/method/"+method, this.withToken(args));
 };
 };
 
 
 fb.OAuthInterface.prototype.graphApiGet = function (path, args) {
 fb.OAuthInterface.prototype.graphApiGet = function (path, args) {