Browse Source

possibly fixed
debug output left

Herbert Vojčík 14 years ago
parent
commit
34fe53e562
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib-app/facebook-oauth.js

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

@@ -25,7 +25,7 @@ fb.OAuthInterface.prototype.graphApiPost = function (path, args) {
 
 fb.OAuthInterface.prototype.tokenString = function () {
   var token = this._token || (this._token = this.obtainToken());
-  return token ? "?access_token="+token : "";
+  return token ? "?access_token="+encodeURIComponent(token) : "";
 };
 
 fb.free = new fb.OAuthInterface;