Facebook Android SDK用隐私按钮创建订阅源对话框

时间:2011-08-02 06:02:54

标签: android facebook

我可以通过Facebook Android SDK发布facebook Feed;但是,我发现Feed对话框没有隐私设置按钮,我做错了什么?

    Bundle params = new Bundle();
    params.putString("description", "This is description!");
    params.putString("name", "appname");
    params.putString("captions", "This is captions!");
    params.putString("link", "http://www.google.com");

    facebook.dialog(this, "feed", params,

              new DialogListener() {
                   @Override
                   public void onComplete(Bundle values) {}

                   @Override
                   public void onFacebookError(FacebookError error) {}

                   @Override
                   public void onError(DialogError e) {}

                   @Override
                   public void onCancel() {}
              }
        );

1 个答案:

答案 0 :(得分:0)

您可以通过facebook.dialog(this, "feed", 参数 , ...)中的参数来配置隐私,详情请参见here