整合facebookbundle和fosuserbundle

I've problem with integration like I mentioned in title.

I'm using Symfony 2.4 with the following bundle versions

  • facebookBundle -> 1.3
  • fosUserBundle -> ~2.0@dev

My configuration is exacly the same as it is in FacebookBundle GitHub page and when I'm trying to reach any link/request I'm getting

ContextErrorException: Catchable Fatal Error: Argument 1 passed to Back\UserBundle\Security\User\Provider\FacebookProvider::__construct() must be an instance of BaseFacebook, string given, called in C:\xampp\htdocs\MYPROJECT\app\cache\dev\appDevDebugProjectContainer.php on line 2366 and defined in C:\xampp\htdocs\MYPROJECT\src\Back\UserBundle\Security\User\Provider\FacebookProvider.php line 24

I've gone further and find out what is in cache file:

protected function getMy_Facebook_UserService()
{
    return $this->services['my.facebook.user'] = new \Back\UserBundle\Security\User\Provider\FacebookProvider('@fos_facebook.api', '@fos_user.user_manager', '@validator');
}

and @fos_facebook.api says exacly the same error.

Is there any chance to help me out?

I was wondering if there is a problem with integrating FacebookBundle 1.3 and Symfony 2.4