浏览代码

trying POST to api.facebook.com to be able to use more data

Herbert Vojčík 13 年之前
父节点
当前提交
3f99d222f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {
-  return wget("https://api.facebook.com/method/"+method, this.withToken(args));
+  return wpost("https://api.facebook.com/method/"+method, this.withToken(args));
 };
 
 fb.OAuthInterface.prototype.graphApiGet = function (path, args) {