title: Facebook PHP SDK v3.1.1 - Post message on page wall as the page offline
body: <p>I'm trying to post a message on a page's wall as the page itself without any user connected.</p>
  
  <p>For now, the first part works fine, but I need a connected user to do it. I've heard I need a seesion ID to do it offline, but I don't know how to get it and how to use it.</p>
  
  <p>For now, my code is:</p>
  
  <pre><code>$facebook = new Facebook(array('appId'  =&gt; $appID, 'secret' =&gt; $appSecret));
  $user = $facebook-&gt;getUser();
  
  try 
  {
      $pageInfo = $facebook-&gt;api("/{$pageID}?fields=access_token");
      if(!empty($pageInfo['access_token'])) 
      {
          $args = array(
              'access_token'  =&gt; $pageInfo['access_token'],
              'message'       =&gt; $message
          );
          $postID = $facebook-&gt;api("/{$pageID}/feed", 'post', $args);
      }
  } 
  catch (FacebookApiException $e) 
  {
      echo '&lt;pre&gt;'; var_dump($e); echo '&lt;/pre&gt;';
      $user = null;
  }
  </code></pre>