title: Why i cannot fetch data when the users setting is private like location etc. (Facebook PHP SDK)
body: <p>First sorry for this noobish question, I am trying to get data from facebook. I've set up facebook application for my website, fetching data is working but when i set the location(Facebook Information) to private, the data returned is not containing the location data.   </p>
  
  <p>Here is the model </p>
  
  <pre><code>class Facebook_model extends CI_Model {
  
  public function __construct()
  {
      parent::__construct();
  
      $config = array(
                      'appId'  =&gt; 'APP_ID',
                      'secret' =&gt; 'SECRET',
                      'fileUpload' =&gt; true, 
                      );
  
      $this-&gt;load-&gt;library('Facebook', $config);
  
      $user = $this-&gt;facebook-&gt;getUser();
      $profile = null;
      if($user)
      {
          try
          {
              $profile = $this-&gt;facebook-&gt;api("/me", 'get');
          }catch(FacebookApiException $e)
          {
              error_log($e);
              $user = null;
          }
      }
  
      $fb_data = array(
          'me' =&gt; $profile,
          'uid' =&gt; $user,
          'loginUrl' =&gt; $this-&gt;facebook-&gt;getLoginUrl(
              array(
                      'scope' =&gt; 'email,publish_stream,user_about_me,user_checkins,publish_stream,friends_about_me',
                      'redirect_uri' =&gt; base_url() . 'index.php/welcome/topsecret/'
                  )
              ), 
          'logoutUrl' =&gt; $this-&gt;facebook-&gt;getLogoutUrl()  
      );
  
      $this-&gt;session-&gt;set_userdata('fb_data', $fb_data);
  
        }
  </code></pre>
  
  <p>Here is the output from my dummy account that is the privacy is set to public</p>
  
  <pre><code> Array
  (
     [me] =&gt; Array
       (
          [id] =&gt; 100004160084328
          [name] =&gt; Dave Batista
          [first_name] =&gt; Dave
          [last_name] =&gt; Batista
          [link] =&gt; http://www.facebook.com/dave.batista.355
          [username] =&gt; dave.batista.355
          [birthday] =&gt; 08/03/1991
          [hometown] =&gt; Array
              (
                  [id] =&gt; 106050279435951
                  [name] =&gt; Quezon City, Philippines
              )
  
          [location] =&gt; Array
              (
                  [id] =&gt; 106050279435951
                  [name] =&gt; Quezon City, Philippines
              )
  
          [gender] =&gt; male
          [email] =&gt; davebatista@gmail.com
          [timezone] =&gt; 8
          [locale] =&gt; en_GB
          [updated_time] =&gt; 2012-08-12T23:38:18+0000
      )
  
  [uid] =&gt; 100004160084328
  [loginUrl] =&gt; https://www.facebook.com/dialog/oauth?       client_id=266349843476112&amp;redirect_uri=http%3A%2F%2Fpractice.com%2Findex.php%2Fwelcome%2Ftopsecret%2F&amp;state=5d41b131b2d1e631e721cd0f6a1056aa&amp;scope=email%2Cpublish_stream%2Cuser_about_me%2Cuser_checkins%2Cpublish_stream%2Cfriends_about_me
  [logoutUrl] =&gt; https://www.facebook.com/logout.php?next=http%3A%2F%2Fpractice.com%2Findex.php%2Fwelcome%2Ftopsecret%2F&amp;access_token=AAADyPmfObpABABJKZCZBdAXy3iPJyu4qRFEAPI8XpWS94iFZAtvnnMDkzb8yBjgQQQ8oe2O38g9QzqN834jA9axvTT0RkulRBtNItTOIAZDZD
  )
  </code></pre>