I have a problem with authenticating my Facebook APP with a Link generated through the Facebook PHP SKD:
when I click the link, an error appears on facebook (An error occurred. Please try again later.) and I won't get redirected to the "app login page".
This is the code of the index.php:
<?php
require_once("./fbsdk/facebook.php");
//test.net
$config = array();
$config[‘appId’] = '37353621936xxxx';
$config[‘secret’] = 'fd39e0f0861f2bdae4fc79274749xxxx';
$config[‘fileUpload’] = false; // optional
$facebook = new Facebook($config);
?>
<!DOCTYPE html>
<html>
<head>
<title>
FB-DEV-TEST
</title>
</head>
<body>
<?php
$params = array(
'scope' => 'user_likes',
'redirect_uri' => 'http://xxx.test.net/start.php'
);
$loginUrl = $facebook->getLoginUrl($params);
echo "<a href=\"$loginUrl\">Login</a>";
?>
</body>
</html>
I've already read this post, but I still can't figure out the problem... are there any changes I have to do at the Facebook APP center, before I can login? Thanx for your help & sry, for my bad english! :)