title: Facebook Android SDK Logout doesn't work
body: <p>I have a problem, logging out from Facebook with the FacebookSDK (3.7). I already tried lots of possibilities but none seems to work,
  when I try with: </p>
  
  <pre><code>fb.logout(ScoreActivity.this);
  </code></pre>
  
  <p>or with</p>
  
  <pre><code>fb.logout(ScoreActivity.this.getApplicationContext());
  </code></pre>
  
  <p>or something similar, i get an IllegalArgumentException (but don't know why..) 
  just a short explanation: "fb" is an object of the type Facebook, and "ScoreActivity" is the activity, where the logout should happen.. Just form Information: The Login is working..</p>
  
  <p>the other method I tried is the following:
  I call the following function:</p>
  
  <pre><code>logoutfromfb(ScoreActivity.this.getApplicationContext());
  </code></pre>
  
  <p>which is defined like this:</p>
  
  <pre><code>public static void logoutfromfb(Context context) {
      Session session = Session.getActiveSession();
      if (session != null) {
          if (!session.isClosed()) {
              session.closeAndClearTokenInformation();
              //clear your preferences if saved
          }
      } else {
          session = new Session(context);
          Session.setActiveSession(session);
          session.closeAndClearTokenInformation();
              //clear your preferences if saved
      }
  }
  </code></pre>
  
  <p>should actually work and I dont even get an error, looking in my LogCat but it's not working, I can press the button how often I want, but nothing happens....
  I really hope somebody can help me...</p>
  
  <p>If you need more Infos, just let me know.</p>