title: how to specify privacy settings( public , friends or only me) in Android Native Facebook login?
body: <p>I am searching for a long time and i was not successful yet . </p>
  
  <p>Is there any method to specify the privacy setting while logging into the facebook itself through native login , so that whatever activities i do on facebook through app , posts in facebook with the specified privacy settings .</p>
  
  <p>i am following the below link <a href="http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/authenticate/" rel="nofollow">http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/authenticate/</a> for setting up the facebook native login . </p>
  
  <p>while searching i found some codes for ios , they have something like </p>
  
  <ul>
  <li><p>FBSessionDefaultAudienceEveryone</p></li>
  <li><p>FBSessionDefaultAudienceALL_FRIENDS</p></li>
  <li><p>FBSessionDefaultAudienceSELF</p></li>
  </ul>
  
  <p>for privacy settings . But is there anything for android ?</p>
  
  <p>i have added my code ,</p>
  
  <pre><code>public class SplashFragment extends Fragment
  {
      LoginButton authButton;
      //private static final List&lt;String&gt; PERMISSIONS = Arrays.asList("user_photos","email","user_status","friends_status","user_videos","user_checkins","friends_checkins","offline_access","user_actions.news","user_actions:parii_apps","user_events","friends_events");
      //private static final List&lt;String&gt; PERMISSION = Arrays.asList("publish_actions","publish_stream","publish_checkins","manage_pages","create_event","rsvp_event");
  
      @Override
      public View onCreateView(LayoutInflater inflater,ViewGroup container,Bundle savedInstanceState) 
      {
          View view = inflater.inflate(R.layout.splash, container, false);
  
          authButton = (LoginButton) view.findViewById(R.id.fb_logIn_btn);
          authButton.setDefaultAudience(SessionDefaultAudience.ONLY_ME);
          Log.e(" setDefaultAudience ", " is "+authButton.getDefaultAudience());
  
          return view;
      }
  
  
  }
  </code></pre>
  
  <p>this is not working for me</p>
  
  <p>Any related answers are welcomed . Thanks in advance .</p>