title: Android - Facebook SDK 3 - Wall post only
body: <p>I am new to Facebook SDK (3) and have succesfully compiled and run the HelloFacebookSample. Now I want to only publish a wall post so I triedy to delete all the unnecessary stuff and only have the post status functionality</p>
  
  <pre><code>@Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.main);
  
      postStatusUpdateButton = (Button) findViewById(R.id.postStatusUpdateButton);
      postStatusUpdateButton.setOnClickListener(new View.OnClickListener() {
          public void onClick(View view) {
              onClickPostStatusUpdate();
          }
      });
  }
  
  private void onClickPostStatusUpdate() {
      performPublish(PendingAction.POST_STATUS_UPDATE);
  }
  
  private void performPublish(PendingAction action) {
      Session session = Session.getActiveSession();
      if (session != null) {
          pendingAction = action;
          if (hasPublishPermission()) {
              // We can do the action right away.
              handlePendingAction();
          } else {
              // We need to reauthorize, then complete the action when we get called back.
               Session.ReauthorizeRequest reauthRequest = new Session.ReauthorizeRequest(this, PERMISSIONS).
                          setRequestCode(REAUTHORIZE_ACTIVITY).
                          setLoginBehavior(SessionLoginBehavior.SSO_WITH_FALLBACK);
              session.reauthorizeForPublish(reauthRequest);
          }
      }
  }
  </code></pre>
  
  <p>However on performPublish session is null.</p>