Error code 100 while writing a code for Facebook API
- by abhishekgupta92
Error
API Error Code: 100
API Error Description: Invalid parameter
Error Message: next is not owned by the application.
Above it the error that I receives when I write the following code in my index.php file.
<
?php
$appapikey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
$appsecret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx';
require_once 'facebook.php';
$facebook = new Facebook ($appapikey, $appsecret);
$user = $facebook-require_login();
echo $user;
?