2014-12-09 2 views
-3

포스팅을 링크를 공유하면 다른 계정의 ... 단지 등 개발자 계정을 사용하여 가능하다 :페이스 북 게시는/이미지로

{"error":{"message":"(#200) The user hasn't authorized the application to perform this action","type":"OAuthException","code":200}} 등 ...

이 게시하려고 할 때 보여주는 반응이다/여기

내 FB 게시 코드입니다 ... FB 할 수있는 링크를 공유 : 새로운 페이스 북의 정책에 따라

public void facebook_post() { 

    nProgress = new ProgressDialog(this); 

    nFacebook = new Facebook(APP_ID); 

    SessionStore.restore(nFacebook, this); 

    AsyncFacebookRunner mAsyncFbRunner = new AsyncFacebookRunner(nFacebook); 

    Bundle params = new Bundle(); 

    params.putString("message", " "); 

    params.putString("name", ""); 
    params.putString("caption", " "); 
    params.putString("link", 
      ""); 
    params.putString("description", 
      ""); 
    params.putString("picture", 
      ""); 

    mAsyncFbRunner.request("me/feed", params, "POST", 
      new WallPostListener(), null); 

} 

답변