title: Undefined index: first_name error from Facebook using socialite
body: <p>I have a Facebook login in my website and it works well in wamp at my local development. Today I uploaded it to DigitalOcean with forge so I created a new Facebook app and made all the changes but when I try to login I get this weird error, "Undefined index: first_name".  </p>
  
  <p>Basically my code stops working after this statement:</p>
  
  <pre><code> $money = Socialize::with('facebook')-&gt;user();
  </code></pre>
  
  <p>In the Facebook Provider file I have this code:</p>
  
  <pre><code>protected function mapUserToObject(array $user)
  {  
      return (new User)-&gt;setRaw($user)-&gt;map([
          'id' =&gt; $user['id'], 'nickname' =&gt; null, 'name' =&gt; $user['first_name'].' '.$user['last_name'],
          'email' =&gt; isset($user['email']) ? $user['email'] : null, 'avatar' =&gt; $this-&gt;graphUrl.'/'.$this-&gt;version.'/'.$user['id'].'/picture?type=normal',
      ]);
  }  
  </code></pre>
  
  <p>What I don't understand is how come it works locally but not in production? Could it be because I'm using an IP as the URL?
  I have of course updated the app ID and secret key.</p>