title: Opening FBSession in consecutive launches (FB SDK for SDK 3.0)
body: <p>I am trying to integrate the new Facebook SDK for iOS and had a problem understanding some concepts.</p>
  
  <ol>
  <li><p>I authenticate using <code>[FBSession sessionOpenWithPermissions:...]</code> auth dialog comes up and I return the app. Auth successful.</p></li>
  <li><p>Then shut down the app, relaunch again. <code>[[FBSession activeSession] accessToken]</code> successfully returns previously saved token.</p></li>
  <li><p>However, at the same time, <code>[[FBSession activeSession] isOpen]</code> returns <code>NO</code>. (This means session is not ready for use.)</p></li>
  <li><p>Also, <code>[[FBSession activeSession] state]</code> is <code>FBSessionStateCreatedTokenLoaded</code> at this time. Tutorial <a href="https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/personalize/" rel="nofollow">here</a> uses <code>isOpen</code> call to verify active session is loaded and opened with token.</p></li>
  </ol>
  
  <p>So what do we call to open the token-loaded session without redirecting user to auth dialog? </p>
  
  <p><strong>Hints:</strong></p>
  
  <p>In <code>FBSessionState</code> enum, for <code>FBSessionStateOpen</code> it says:</p>
  
  <blockquote>
    <p>Open session state indicating user has logged in or a cached token is available.</p>
  </blockquote>
  
  <p>However <code>FBSessionStateCreatedTokenLoaded</code> is described as:</p>
  
  <blockquote>
    <p>One of two initial session states indicating that a cached token was loaded; when a session is in this state, a call to open* will result in an open session, without UX or app-switching</p>
  </blockquote>
  
  <p>Could you please help me figure out understanding these session transitions?</p>