I think this is related to the autoloading of Symfony2:
I created a
class FacebookSessionPersistence extends \BaseFacebook
Further, I inserted following line in the autoload.php:
$loader->registerPrefixes(array(
'Facebook' => __DIR__.'/../vendor/facebook/src',));
Still I get following error:
Fatal error: Class 'BaseFacebook' not found in /var/www/..../Bundle/Library/FacebookSessionPersistence.php on line 14
What should I do, to tell Symfony to load this class?