title: How to get Facebook Additional Permissions with android sdk 3.0 beta?
body: <p>I'm developing a simple Facebook app for Android using the official sdk beta 3.0.</p>
  
  <p>I would to get additional permissions for user logged (user_likes, user_interests, friends_likes, etc...)  without using the LoginButton (as explained here <a href="https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/" rel="nofollow">https://developers.facebook.com/docs/howtos/androidsdk/3.0/login-with-facebook/</a>) and, in fact, I'm getting the additional permissions with method  </p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.main);
          List&lt;String&gt; permission=new ArrayList&lt;String&gt;();
          permission.add("user_birthday");
          permission.add("user_likes");
          permission.add("user_questions");
          permission.add("user_interests");
          permission.add("user_relationships");
          permission.add("user_groups");
          permission.add("user_religion_politics");
          permission.add("friends_birthday");
          permission.add("friends_interests");
          permission.add("friends_likes");
          permission.add("friends_groups");
          permission.add("friends_questions");
          permission.add("friends_relationships");
         // this.openSession();
            this.openSessionForRead(app_id, permission);
  
      } 
  </code></pre>
  
  <p>and actually, it opens the login view asking for permission to have additional permissions.</p>
  
  <p>Now, I would know how to obtain the additional permissions because, when I'm calling user.get*<em>*</em>() it not showing other methods except those for base informations.</p>
  
  <p>Thanks!</p>
  
  <hr>
  
  <p>I'm getting a Null.pointer.exception using </p>
  
  <blockquote>
    <p>private GraphObject mUser; ... // Assign the user object you get from
    a call to get the user's info</p>
    
    <p>String religion = mUser.getProperty("religion").toString();</p>
  </blockquote>
  
  <p>here my logcat: </p>
  
  <pre><code>11-08 14:21:47.908: E/AndroidRuntime(1306): FATAL EXCEPTION: main
  11-08 14:21:47.908: E/AndroidRuntime(1306): java.lang.NullPointerException
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at com.********.*****.Main$1.onCompleted(Main.java:123)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at com.facebook.Request$1.onCompleted(Request.java:248)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at com.facebook.Request$4.run(Request.java:1197)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at android.os.Handler.handleCallback(Handler.java:615)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at android.os.Handler.dispatchMessage(Handler.java:92)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at android.os.Looper.loop(Looper.java:137)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at android.app.ActivityThread.main(ActivityThread.java:4745)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at java.lang.reflect.Method.invokeNative(Native Method)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at java.lang.reflect.Method.invoke(Method.java:511)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
  11-08 14:21:47.908: E/AndroidRuntime(1306):     at dalvik.system.NativeStart.main(Native Method)
  </code></pre>