소스 검색

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

Herbert Vojčík 14 년 전
부모
커밋
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) {