title: Error code 100 while writing a code for Facebook API
body: <p>I get this error:</p>
  
  <blockquote>
    <p>API Error Code: 100 API Error Description: Invalid parameter Error
    Message: next is not owned by the application.</p>
  </blockquote>
  
  <p>in this index.php file:</p>
  
  <pre><code>&lt;
  ?php
  $appapikey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
  $appsecret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
  
  require_once 'facebook.php';
  
  $facebook = new Facebook ($appapikey, $appsecret);
  
  $user = $facebook-&gt;require_login();
  
  echo $user;
  ?&gt;
  </code></pre>