title: Facebook login can't load URL
body: <p>I have found few topics about this issue here, but nothing helped me yet. This is my first time when I try to implement facebook login to my website (using PHP). I've found some tutorial, went through all the steps and when I wanted to try login, I got error “Error: Can’t Load URL: The domain of this URL isn’t included in the app’s domains”. Here are screenshots of my settings at FB apps manager: 
  <img src="https://i.stack.imgur.com/CiVdl.png" alt="basic settings - app domains"></p>
  
  <p><img src="https://i.stack.imgur.com/1DAtJ.png" alt="fb login settings"></p>
  
  <p>Even when I try to paste redirect URL into their validator, everything seems fine.
  <img src="https://i.stack.imgur.com/uAlPL.png" alt="screenshot of redirect URL validator"></p>
  
  <pre><code>public function getFbLoginUrl()
  {
      $fb = new Facebook(array(
          'app_id' =&gt; '434864033760844',
          'app_secret' =&gt; '&lt;app secret&gt;',
          'default_graph_version' =&gt; 'v3.2',
      ));
  
      $helper = $fb-&gt;getRedirectLoginHelper();
      $helper-&gt;getAccessToken('https://vinoservis.mobydyk.cz/sign/facebook');
  
      $permissions = []; // Optional permissions
      $loginURL = $helper-&gt;getLoginUrl('https://vinoservis.mobydyk.cz/sign/facebook', $permissions);
  
      return $loginURL;
  }
  </code></pre>