Facebook Android SDK to create feed dialog with privacy button

I am able to post facebook feed through Facebook Android SDK; however, I found that the feed dialog doesn't have privacy setting button, did I do anything wrong?

    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() {}
              }
        );

Answers


You can configure privacy via params in facebook.dialog(this, "feed",params, ...) see here for details


Need Your Help

Apple push notification one app more subdomains

ios push-notification apple-push-notifications

How can i set apple push notification when i connect to sub1.domain.com my server will send messages for that APP_ID, and when connect to sub2.domain.com i will receive messages only from that subd...

Wordpress Feed stuck in maintenance mode

wordpress rss

I had activated maintenance mode on my site through the WP-maintenance mode plugin . After disabling the maintenance mode , my site's rss feed is still in maintenance mode. I emptied the W3TC cache...